diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-21 01:37:57 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-21 01:37:57 +0100 |
commit | 96d27f0cee274c6a687266c3e0aa315742094929 (patch) | |
tree | 24fc6e4f3db1f27ff0a43c6bc0c513bba19cf122 /src/main/kotlin/moe/nea | |
parent | 175379be77dd530bc019e34d3937950df22e4f8a (diff) | |
download | LocalTransactionLedger-96d27f0cee274c6a687266c3e0aa315742094929.tar.gz LocalTransactionLedger-96d27f0cee274c6a687266c3e0aa315742094929.tar.bz2 LocalTransactionLedger-96d27f0cee274c6a687266c3e0aa315742094929.zip |
fix: Add other corpse keys
Diffstat (limited to 'src/main/kotlin/moe/nea')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt index 049ea39..60b06ae 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt +++ b/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt @@ -39,7 +39,6 @@ class MineshaftCorpseDetection : BorderedTextTracker() { } override fun onBorderedTextFinished(enclosed: List<ChatReceived>) { - // TODO: test this once profile swapping has been re-enabled val rewards = enclosed.asSequence() .dropWhile { it.message != " REWARDS" } .drop(1) @@ -68,7 +67,10 @@ class MineshaftCorpseDetection : BorderedTextTracker() { } val corpseNameToKey = mapOf( - "LAPIS" to ItemId.NIL + "LAPIS" to ItemId.NIL, + "VANGUARD" to ItemId("SKELETON_KEY"), + "UMBER" to ItemId("UMBER_KEY"), + "TUNGSTEN" to ItemId("TUNGSTEN_KEY"), ) @Inject |