3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 12:30:06 +01:00

SPIGOT-4119: Incorrect slot type in InventoryClickEvent

Dieser Commit ist enthalten in:
md_5 2018-07-24 08:41:15 +10:00
Ursprung 6a109cf6bc
Commit 38adf52b28

Datei anzeigen

@ -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;