mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
SPIGOT-4119: Incorrect slot type in InventoryClickEvent
This commit is contained in:
@@ -1215,7 +1215,7 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ InventoryView inventory = this.player.activeContainer.getBukkitView();
|
+ InventoryView inventory = this.player.activeContainer.getBukkitView();
|
||||||
+ SlotType type = CraftInventoryView.getSlotType(inventory, packetplayinwindowclick.b());
|
+ SlotType type = CraftInventoryView.getSlotType(inventory, packetplayinwindowclick.c());
|
||||||
|
|
||||||
+ InventoryClickEvent event;
|
+ InventoryClickEvent event;
|
||||||
+ ClickType click = ClickType.UNKNOWN;
|
+ ClickType click = ClickType.UNKNOWN;
|
||||||
|
Reference in New Issue
Block a user