mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-4119: Incorrect slot type in InventoryClickEvent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
fb4c827ec7
commit
c03c42de6c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue