aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-25 11:40:59 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-25 11:40:59 +0100
commit8d26a206297071775e88b99d4b38efcc5577af0a (patch)
tree9f74f9c9d516ee18868d7275cb5a6d24466ceb84 /src
parentbf0c287e020f3c414b4a3e2a4456452d8e07ce59 (diff)
downloadLocalTransactionLedger-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.kt2
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()