From c03c42de6cc338d32aff9f3da7d2b9e94443b031 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 24 Jul 2018 08:41:15 +1000 Subject: [PATCH] SPIGOT-4119: Incorrect slot type in InventoryClickEvent By: md_5 --- paper-server/nms-patches/PlayerConnection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/PlayerConnection.patch b/paper-server/nms-patches/PlayerConnection.patch index e63a53533d..42e0d82e57 100644 --- a/paper-server/nms-patches/PlayerConnection.patch +++ b/paper-server/nms-patches/PlayerConnection.patch @@ -1215,7 +1215,7 @@ + } + + InventoryView inventory = this.player.activeContainer.getBukkitView(); -+ SlotType type = CraftInventoryView.getSlotType(inventory, packetplayinwindowclick.b()); ++ SlotType type = CraftInventoryView.getSlotType(inventory, packetplayinwindowclick.c()); + InventoryClickEvent event; + ClickType click = ClickType.UNKNOWN;