aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
index 8e7379365..7d2fffea0 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
@@ -120,7 +120,8 @@ class HypixelData {
// NEU and have NEU send it.
// Remove this when NEU dependency is removed
val currentTime = System.currentTimeMillis()
- if (Minecraft.getMinecraft().thePlayer != null &&
+ if (LorenzUtils.onHypixel &&
+ Minecraft.getMinecraft().thePlayer != null &&
Minecraft.getMinecraft().theWorld != null &&
locrawData == null &&
currentTime - lastLocRaw > 15000