From f89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0 Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 24 Jan 2023 12:46:35 +0100 Subject: nitpicking --- .../moulberry/notenoughupdates/miscfeatures/EnforcedConfigValues.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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) -- cgit