aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreature.kt2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
index 83abe9f7e..fce359672 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
@@ -65,7 +65,9 @@ class FishingTimer {
private fun countMobs() = EntityUtils.getEntities<EntityArmorStand>()
.map { entity ->
val name = entity.name
- if (SeaCreatureManager.allFishingMobNames.any { name.contains(it) }) {
+ val isSummonedSoul = name.contains("'")
+ val hasFishingMobName = SeaCreatureManager.allFishingMobNames.any { name.contains(it) }
+ if (hasFishingMobName && !isSummonedSoul) {
if (name == "Sea Emperor" || name == "Rider of the Deep") 2 else 1
} else 0
}.sum()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreature.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreature.kt
index c2b452cbe..987a57d00 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreature.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreature.kt
@@ -8,7 +8,7 @@ data class SeaCreature(
) {
override fun toString(): String {
- return chatColor + rare() + displayName
+ return chatColor + rare() + displayName
}
private fun rare(): String {