Shearing Bogged does not fire PlayerShearEntityEvent

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • This server is running CraftBukkit version 4251-Spigot-491f367-f672c35 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
    • Yes

      Bogged is a new mob in 1.21 that is a skeleton with 2 mushrooms on its head. If you shear it, it drops these. The PlayerShearEntityEvent should fire but does not (yet). There was a similar issue with Snowmen a while back. 

      Code to check (just a logger on the registered event):

      public class ShearingListener extends Listener {
          @EventHandler(priority = EventPriority.NORMAL)
          public void onShear(final PlayerShearEntityEvent e) {
              Bukkit.getLogger().info(e.getEventName());
          }
      } 

            Assignee:
            Doc
            Reporter:
            tastybento
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: