Cancelling a PlayerInteractEventAtEntityEvent when a villager merchant is right clicked does NOT prevent the trade window from being opened.

XMLWordPrintable

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

      Given the following code:

      https://hatebin.com/ivcnfyecrj

       

      Interact Event fires first, and is cancelled, however the InventoryOpenEvent still fires, it would seem since the interact event is cancelled the inventory should never open.

            Assignee:
            Unassigned
            Reporter:
            Shane Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: