aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt
index 5f630335b..8af24175f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt
@@ -89,6 +89,7 @@ object PestProfitTracker {
val internalName = NEUInternalName.fromItemNameOrNull(group("item")) ?: return
tracker.addItem(internalName, 1)
+ addKill()
// pests always have guaranteed loot, therefore there's no need to add kill here
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 296439939..5d63993d1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -139,8 +139,9 @@ object NEUItems {
var name = manager.createItem(rawInternalName).displayName.lowercase()
val internalName = rawInternalName.asInternalName()
- // TODO remove one of them once neu is consistent
+ // TODO remove all except one of them once neu is consistent
name = name.removePrefix("§f§f§7[lvl 1➡100] ")
+ name = name.removePrefix("§f§f§7[lvl {lvl}] ")
name = name.removePrefix("§7[lvl 1➡100] ")
if (name.contains("[lvl 1➡100]")) {