-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
Calling player.launchProjectile(Arrow.class) doesn't spawn the arrow anymore.
I've checked if the entity was valid and if ProjectileLaunchEvent was cancelled.
Arrow arrow = player.launchProjectile(Arrow.class); System.out.println(arrow.isValid()); //Outputs true
@EventHandler(priority = EventPriority.MONITOR) public void test(final ProjectileLaunchEvent e) { System.out.println(e.isCancelled());//Outputs false }
It worked yesterday (11 March)