HangingEntities broken by Boats do not fire HangingBreakByEntityEvent, only HangingBreakEvent.

    • This server is running CraftBukkit version git-Spigot-642f6d2-ab13683 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)

      I'm trying to protect hanging entities like itemframes from Boats ridden by players but currently boats only fire a HangingBreakEvent, with RemoveCause.PHYSICS. 

      Because the HangingBreakEvent can only get the entity broken and not the cause like HangingBreakByEntityEntity, to protect itemframes from boats you must cancel all PHYSICS caused breaks. Doing this means itemframes and the like do not get removed when the block they're attached to is destroyed.

      A HangingBreakByEntityEvent should be fired and the RemoveCause should probably also be changed to ENTITY from PHYSICS.

            Assignee:
            Unassigned
            Reporter:
            Llm Dl
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: