aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt
index d5a1260e..e9327ac3 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt
@@ -78,7 +78,7 @@ object EnforcedConfigValues {
@SubscribeEvent
fun onTick(tickEvent: TickEvent.ClientTickEvent) {
- if (hasSentPSAsOnce || Minecraft.getMinecraft().thePlayer == null) return
+ if (hasSentPSAsOnce || Minecraft.getMinecraft().thePlayer == null || !NotEnoughUpdates.INSTANCE.isOnSkyblock) return
hasSentPSAsOnce = true
sendPSAs()
enforceOntoConfig(NotEnoughUpdates.INSTANCE.config ?: return)