SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-05-05 09:46:41 +10:00
parent 8399005c46
commit 0ddb44f00c
2 changed files with 10 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
+ return bukkitEntity;
+ }
+
+ CraftInventoryCartography inventory = new CraftInventoryCartography(this.inventory);
+ CraftInventoryCartography inventory = new CraftInventoryCartography(this.inventory, this.f);
+ bukkitEntity = new CraftInventoryView(this.player, inventory, this);
+ return bukkitEntity;
+ }