[SPIGOT-8007] InventoryClickEvent.setCancelled(true) crashes client when in creative mode Created: 08/Feb/25  Updated: 09/Feb/25  Resolved: 09/Feb/25

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

Type: Bug Priority: Major
Reporter: Ignazio armando pascale Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Attachments: File 2025-02-08 20-08-36.mkv     Text File disconnect-2025-02-08_20.01.42-client.txt    
Version: [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
Guidelines Read: Yes

 Description   

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.



 Comments   
Comment by md_5 [ 09/Feb/25 ]

Issue only occurs in creative mode

Comment by Ignazio armando pascale [ 08/Feb/25 ]

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

 

Comment by md_5 [ 08/Feb/25 ]

Under what circumstances exactly?

Generated at Sun Mar 30 02:32:24 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.