EntityTeleportEvent is not working properly when player is using bow to shoot an Enderman

    • 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)

      { System.out.println("EnderMan!"); event.setCancelled(true); }

            Assignee:
            Unassigned
            Reporter:
            Mars Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: