summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-24 08:41:15 +1000
committermd_5 <git@md-5.net>2018-07-24 08:41:15 +1000
commit38adf52b28859a5d2d54909b622784177ae62b85 (patch)
tree4659b05737d62a80a5cb31cff87fcd7711b6f12f /nms-patches
parent6a109cf6bc19e0a3da704f7497300e3ce86a100d (diff)
downloadcraftbukkit-38adf52b28859a5d2d54909b622784177ae62b85.tar
craftbukkit-38adf52b28859a5d2d54909b622784177ae62b85.tar.gz
craftbukkit-38adf52b28859a5d2d54909b622784177ae62b85.tar.lz
craftbukkit-38adf52b28859a5d2d54909b622784177ae62b85.tar.xz
craftbukkit-38adf52b28859a5d2d54909b622784177ae62b85.zip
SPIGOT-4119: Incorrect slot type in InventoryClickEvent
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/PlayerConnection.patch2
1 files changed, 1 insertions, 1 deletions
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;