InventoryClickEvent.setCancelled(true) crashes client when in creative mode

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • None
    • [20:02:31] [Server thread/INFO]: This server is running CraftBukkit version 4434-Spigot-d421948-ec571d7 (MC: 1.21.4) (Implementing API version 1.21.4-R0.1-SNAPSHOT) [20:02:31] [Server thread/INFO]: Checking version, please wait... [20:02:31] [Thread-12/I
    • Yes

      calling InventoryClickEvent.setCancelled crashes the client.
      tried on a server with no plugins except the one calling the method

      server was on latest spigot build

      client is vanilla minecraft 1.21.4. No fabric or forge or optifiine.

          [SPIGOT-8007] InventoryClickEvent.setCancelled(true) crashes client when in creative mode

          md_5 added a comment -

          Issue only occurs in creative mode

          md_5 added a comment - Issue only occurs in creative mode

          as you can see from the video, if a "InventoryClickEvent.setCancelled" is triggered, whenever you click something from the inventory the game just crashes

           

          Ignazio armando pascale added a comment - as you can see from the video, if a "InventoryClickEvent.setCancelled" is triggered, whenever you click something from the inventory the game just crashes  

          md_5 added a comment -

          Under what circumstances exactly?

          md_5 added a comment - Under what circumstances exactly?

            Assignee:
            Unassigned
            Reporter:
            Ignazio armando pascale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: