diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-25 11:40:59 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-25 11:40:59 +0100 |
commit | 8d26a206297071775e88b99d4b38efcc5577af0a (patch) | |
tree | 9f74f9c9d516ee18868d7275cb5a6d24466ceb84 /src | |
parent | bf0c287e020f3c414b4a3e2a4456452d8e07ce59 (diff) | |
download | LocalTransactionLedger-8d26a206297071775e88b99d4b38efcc5577af0a.tar.gz LocalTransactionLedger-8d26a206297071775e88b99d4b38efcc5577af0a.tar.bz2 LocalTransactionLedger-8d26a206297071775e88b99d4b38efcc5577af0a.zip |
Fix co op orders
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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() |