getVelocity() returns zero vector on fireball projectile

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Windows 7
      Java 9

      **

      SmallFireball fireball = player.launchProjectile(SmallFireball.class);
      Bukkit.broadcastMessage(fireball.getVelocity().toString());
      

      Output: 0.0, 0.0, 0.0

      Even though the fireball is clearly moving at a constant speed. When replaced with Snowball.class, this method returns a correct velocity vector.

            Assignee:
            Unassigned
            Reporter:
            liec0dez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: