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

Cancelling a PlayerInventoryEvent on a MerchantInventory prevents the inventory from being re-opened until the server is restarted.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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)
    • Yes

      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.

       

            Unassigned Unassigned
            whoolieshop Shane Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: