summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/fishing
diff options
context:
space:
mode:
authormartimavocado <39881008+martimavocado@users.noreply.github.com>2023-11-22 12:50:32 +0000
committerGitHub <noreply@github.com>2023-11-22 13:50:32 +0100
commitbe9126ef8f5154ed7f0562e43cbd6c499ca892ba (patch)
treec0dbdf8d23b1b7d5f7b168cada005e34d1aeb24e /src/main/java/at/hannibal2/skyhanni/features/fishing
parentab4ee55eb6b2951e24c4bed144b2cf68e86501c1 (diff)
downloadskyhanni-be9126ef8f5154ed7f0562e43cbd6c499ca892ba.tar.gz
skyhanni-be9126ef8f5154ed7f0562e43cbd6c499ca892ba.tar.bz2
skyhanni-be9126ef8f5154ed7f0562e43cbd6c499ca892ba.zip
Feature: Add support for barn fishing in the jerry's workshop and crimson isle (#705)
Added Barn Fishing Timer to Jerry's Workshop and Crimson Isle. #705
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt4
1 files changed, 4 insertions, 0 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 fa2b9b824..501b217f4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
@@ -92,6 +92,10 @@ class FishingTimer {
return true
}
+ if (config.crimsonIsle && IslandType.CRIMSON_ISLE.isInIsland()) return true
+
+ if (config.winterIsland && IslandType.WINTER.isInIsland()) return true
+
if (!IslandType.THE_FARMING_ISLANDS.isInIsland()) {
return LocationUtils.playerLocation().distance(barnLocation) < 50
}