From 38adf52b28859a5d2d54909b622784177ae62b85 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 24 Jul 2018 08:41:15 +1000 Subject: SPIGOT-4119: Incorrect slot type in InventoryClickEvent --- nms-patches/PlayerConnection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches') diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch index e63a5353..42e0d82e 100644 --- a/nms-patches/PlayerConnection.patch +++ b/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; -- cgit v1.2.3