Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
This commit is contained in:
parent
6631f07cae
commit
d085b4781b
2 changed files with 1 additions and 68 deletions
|
@ -1230,7 +1230,7 @@
|
|||
+ }
|
||||
+
|
||||
+ InventoryView inventory = this.player.activeContainer.getBukkitView();
|
||||
+ SlotType type = CraftInventoryView.getSlotType(inventory, packetplayinwindowclick.c());
|
||||
+ SlotType type = inventory.getSlotType(packetplayinwindowclick.c());
|
||||
|
||||
+ InventoryClickEvent event;
|
||||
+ ClickType click = ClickType.UNKNOWN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue