aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-12 04:38:00 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-12 04:38:00 +0200
commitf2d08635a09bc14ccab03fc111f6a85c53abf9cc (patch)
treebe4f65a36d1b65befe6ed61b285d3c354f3af14b /src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
parent8d96a1a79f9543a8d243b662cc347c69a78f6e85 (diff)
downloadskyhanni-f2d08635a09bc14ccab03fc111f6a85c53abf9cc.tar.gz
skyhanni-f2d08635a09bc14ccab03fc111f6a85c53abf9cc.tar.bz2
skyhanni-f2d08635a09bc14ccab03fc111f6a85c53abf9cc.zip
Fixed bug that skyhanni features break when joining the garden while jacob contest is active
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
index b7f80625b..7f162fa94 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
@@ -79,8 +79,9 @@ class HypixelData {
tick++
if (tick % 5 != 0) return
- checkHypixel()
-
+ if (!LorenzUtils.onHypixel) {
+ checkHypixel()
+ }
if (!LorenzUtils.onHypixel) return
val inSkyBlock = checkScoreboard()