Update InventoryGUI.kt

This commit is contained in:
bluefireoly
2020-10-02 15:40:39 +02:00
parent b88f50eb2d
commit 447652ed8c

View File

@@ -146,8 +146,10 @@ class InventoryGUIShared<T : ForInventory>(
} }
override fun set(slot: InventorySlotCompound<T>, value: ItemStack) { override operator fun set(slot: InventorySlotCompound<T>, value: ItemStack) {
slot.withInvType(data.inventoryType).forEach { } slot.realSlotsWithInvType(data.inventoryType).forEach {
bukkitInventory.setItem(it, value)
}
} }
} }