[SPIGOT-4838] BlockDispenseEvent not called when shears dispensed from dispenser Created: 02/May/19  Updated: 02/May/19  Resolved: 02/May/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Justin Lawen Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.14, BlockDispenseEvent, dispenser

Attachments: Java Archive File QuickTest.jar    
Version: This server is running CraftBukkit version git-Spigot-1eece4f-a584320 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

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?


Generated at Tue Apr 15 09:41:57 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.