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

BlockBreakEvent.isDropItems() method always returns true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • OS: Windows 10 64 bit

      Locally hosted server (Intel processor)

    • [23:42:16 INFO]: This server is running CraftBukkit version 3083-Spigot-9fb885e-9c7acb6 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) [23:42:16 INFO]: You are 11 version(s) behind
    • Yes

    Description

      When I use the BlockBreakEvent.isDropItems() method, it always returns true, even if no items are dropped because the player is in creative mode. I want to use this method to check if items are being dropped from a block, but it does not work as it should. It should return false if no items are being dropped, if for example the player is in creative mode or some other reason I can't think of.

      Attachments

        Activity

          People

            TheAndroidMan Martoph
            jamster02 Jack Myrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: