aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/modules')
-rw-r--r--src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt6
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