aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-10 09:18:14 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-10 09:18:14 +0200
commit7e6a2296142e811f77049c0b4080bbd00cd29692 (patch)
tree0c04cc55b6a838018f4295e740dd8bc94948e281 /src
parent124c60665aea4dd6efac732b885af26ce221f046 (diff)
downloadskyhanni-7e6a2296142e811f77049c0b4080bbd00cd29692.tar.gz
skyhanni-7e6a2296142e811f77049c0b4080bbd00cd29692.tar.bz2
skyhanni-7e6a2296142e811f77049c0b4080bbd00cd29692.zip
Added support for slayer profit trackers on stranded.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
index 3a3bd8b33..2675c27c3 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
@@ -121,7 +121,11 @@ object SlayerAPI {
}
if (event.isMod(5)) {
- isInSlayerArea = SlayerType.getByArea(LorenzUtils.skyBlockArea) != null
+ isInSlayerArea = if (LorenzUtils.isStrandedProfile) {
+ true
+ } else {
+ SlayerType.getByArea(LorenzUtils.skyBlockArea) != null
+ }
}
}
} \ No newline at end of file