From 96d27f0cee274c6a687266c3e0aa315742094929 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 21 Dec 2024 01:37:57 +0100 Subject: fix: Add other corpse keys --- src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea') 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) { - // 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 -- cgit