aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-01-24 12:46:35 +0100
committernea <nea@nea.moe>2023-01-24 12:46:35 +0100
commitf89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0 (patch)
treee13257b6af5427ca14c3de331be63604676eef0d /src/main
parent5190017bc8f7bb1177da239842e4b3a18a888d8c (diff)
downloadNotEnoughUpdates-f89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0.tar.gz
NotEnoughUpdates-f89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0.tar.bz2
NotEnoughUpdates-f89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0.zip
nitpicking
Diffstat (limited to 'src/main')
-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)