From 26c7f2728dae08d348d0488c07d87ef74a3ac332 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 3 May 2020 08:12:20 -0500 Subject: [PATCH] Fix issue with gui voiding items. The InventoryClickEvent was not cancelling correctly, you could drag & drop items from your inventory into the LobbyAPI menu, then when you closed the LobbyAPI menu -- they're gone into the void. --- src/me/zombie_striker/lobbyapi/Main.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/me/zombie_striker/lobbyapi/Main.java b/src/me/zombie_striker/lobbyapi/Main.java index 3eac8de..9c66617 100644 --- a/src/me/zombie_striker/lobbyapi/Main.java +++ b/src/me/zombie_striker/lobbyapi/Main.java @@ -700,6 +700,7 @@ public void run() { } event.setCancelled(true); } + event.setCancelled(true); } } }