aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-16 20:46:41 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-16 20:46:41 +0100
commit2cc7d668eacba1919208ba6b131b01fe10bbf0ed (patch)
tree8490092dbffcc729acc4a3679028ba633e395fae /mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt
parent0cb08682bc6b759a054066e145cb0332a40f42a7 (diff)
downloadLocalTransactionLedger-2cc7d668eacba1919208ba6b131b01fe10bbf0ed.tar.gz
LocalTransactionLedger-2cc7d668eacba1919208ba6b131b01fe10bbf0ed.tar.bz2
LocalTransactionLedger-2cc7d668eacba1919208ba6b131b01fe10bbf0ed.zip
refactor: Move some basetypes and fix: Kuudra chest and dungeon chest detection mixing
Diffstat (limited to 'mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt')
-rw-r--r--mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt
index e747be9..37d0e9c 100644
--- a/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt
+++ b/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt
@@ -76,7 +76,7 @@ class DungeonChestDetection @Inject constructor(val logger: LedgerLogger) : Ches
}
}
- val rewardMessage = " (WOOD|GOLD|DIAMOND|EMERALD|OBSIDIAN|BEDROCK) CHEST REWARDS".toPattern()
+ val rewardMessage = " *(WOOD|GOLD|DIAMOND|EMERALD|OBSIDIAN|BEDROCK) CHEST REWARDS".toPattern()
@SubscribeEvent
fun onChatMessage(event: ChatReceived) {