aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-07 23:10:13 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-07 23:10:13 +0100
commit3acf36fbd07686431b8fbb5484f1f70b52651dc5 (patch)
tree2e7a582bc481c73bbd268a6fe8de57e5a5cf4e95 /src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt
parent0ca988c907c7e8e26029f59cc098e6be5e008ee5 (diff)
downloadLocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.tar.gz
LocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.tar.bz2
LocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.zip
Add kuudra chest detection
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt')
-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 f4a0232..d6ca05b 100644
--- a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt
+++ b/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt
@@ -86,7 +86,7 @@ class ItemIdProvider {
fun findStackableItemByName(name: String): Pair<ItemId, Double>? {
val properName = name.unformattedString()
- if (properName == "FREE") {
+ if (properName == "FREE" || properName == "This Chest is Free!") {
return Pair(ItemId.COINS, 0.0)
}
coinRegex.useMatcher(properName) {