[SPIGOT-4860] Cancelling a PlayerInventoryEvent on a MerchantInventory prevents the inventory from being re-opened until the server is restarted. Created: 04/May/19  Updated: 04/May/19  Resolved: 04/May/19

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

Type: Bug Priority: Minor
Reporter: Shane Martin Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: InventoryOpenEvent,

Version: 03.05 22:51:22 [Server] Server thread/INFO This server is running CraftBukkit version git-Spigot-1eece4f-09a453a (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

When right clicking on ANY merchant villager.

If you cancel a InventoryOpenEvent on a MerchantInventory then try to re-open that inventory later (eg via a right click on the merchant) the window will not open, no console errors, the event does not fire again for that specific merchant regardless of the code being removed / turned off.

https://hatebin.com/zvqawhwncv

 

Expected Result: The event should fire and the inventory should open on later attempts provided it is not cancelled again.

 


Generated at Tue Apr 22 04:41:54 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.