-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
None
-
Affects Version/s: None
-
Environment:
java 8
I implement the method below.
When player is using bow to shoot an Enderman, the Enderman will teleport far away, not being damaged by arrow. The console with print about 10 lines of "EnderMan!", which means the method has been fired for several times.
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onEntityTeleport(EntityTeleportEvent event)