diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt | 7 |
1 files changed, 6 insertions, 1 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 2935b77ab..c97ca4ed8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt @@ -64,7 +64,12 @@ class FishingTimer { } private fun countMobs() = EntityUtils.getEntities<EntityArmorStand>() - .count { entity -> SeaCreatureManager.allFishingMobNames.any { entity.name.contains(it) } } + .map { entity -> + val name = entity.name + if (SeaCreatureManager.allFishingMobNames.any { name.contains(it) }) { + if (name == "Sea Emperor" || name == "Rider of the Deep") 2 else 1 + } else 0 + }.sum() private fun isRightLocation(): Boolean { if (config.barnTimerCrystalHollows && IslandType.CRYSTAL_HOLLOWS.isInIsland()) { |