Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2145

EntityTeleportEvent not firing for Endermen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 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

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

              Created:
              Updated:
              Resolved: