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

Issue with preventing item drops with BlockBreakEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • CraftBukkit version 3232-Spigot-3c1fc60-cbd747a (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)
    • Yes

      If I listen to BlockBreakEvent and use event.setDropItems(false), blocks depend on the block that was broken's existence (such as wall torches, levers, flowers, buttons, etc.) also don't drop items when they break due to the original block breaking.

      I originally thought that perhaps multiple BlockBreakEvents were being called, but that was not the case.

            Unassigned Unassigned
            Short Short
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: