EntityTeleportEvent not firing for Endermen

XMLWordPrintable

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

      Duplicate of SPIGOT-1935, which was closed for being incomplete.

      Not sure what other ways to cause this event to fire, but afaik it should fire for Endermen - but that doesn't seem to be the case.

      Test code:

          @EventHandler
          public void onEntityTeleport(EntityTeleportEvent event)
          {
              Bukkit.broadcastMessage("loud noises");
              Entity entity = event.getEntity();
              World world = entity.getWorld();
              Bukkit.broadcastMessage(entity.getType().toString() + world.getName());
          }
      

      https://github.com/MLG-Fortress/HotFix/blob/master/src/main/java/me/robomwm/HotFix/Main.java#L61

      Nothing is ever printed while endermen are teleporting all over.

      Also used Event debug, nothing there either.

      https://github.com/MLG-Fortress/ExtraHardMode/issues/28

            Assignee:
            Unassigned
            Reporter:
            RoboMWM
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: