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

BlockDispenseEvent not called when shears dispensed from dispenser

XMLWordPrintable

    • This server is running CraftBukkit version git-Spigot-1eece4f-a584320 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
    • Yes

      Steps:

      • run server with the included plugin enabled
      • place a dispenser facing into open air with a solid block below the facing block
      • put shears inside the dispenser
      • activate the dispenser with a redstone pulse

      Expected: There should be a message in the console indicating the event was called, and fire should be set in the facing block

      Actual: The event is not called, and so there is no console message or fire

      Notes: This issue only applies to Spigot/CraftBukkit 1.14, and only to dispensers—droppers work just fine, it's the new vanilla dispenser behavior for shears that's causing this. It also doesn't matter whether or not there is actually a sheep to be sheared in front of the dispenser.

      Plugin Source: https://pastebin.com/5Mj6uq43

      I don't actually understand step 9 in the report guidelines: 

      9. All bugs should include the amount of time you spent on steps 1-8.

      I didn't time myself, but I can be a bit slow?

            Unassigned Unassigned
            Roboboy Justin Lawen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: