From 8d26a206297071775e88b99d4b38efcc5577af0a Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 25 Feb 2024 11:40:59 +0100 Subject: Fix co op orders --- src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt b/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt index 89570da..3da0a07 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt +++ b/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt @@ -26,7 +26,7 @@ class ItemIdProvider { val chest = (event.gui as? GuiChest) ?: return val slots = chest.inventorySlots as ContainerChest val chestName = slots.lowerChestInventory.name.unformattedString() - val isOrderMenu = chestName == "Your Bazaar Orders" || chestName == "Co-op Bazar Orders" + val isOrderMenu = chestName == "Your Bazaar Orders" || chestName == "Co-op Bazaar Orders" slots.inventorySlots.forEach { val stack = it.stack ?: return@forEach val nbt = stack.tagCompound ?: NBTTagCompound() -- cgit