diff options
author | nea <nea@nea.moe> | 2023-01-24 12:46:35 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-01-24 12:46:35 +0100 |
commit | f89a90e08d2b6cff70d84bb4c35bbdc8a0b49bc0 (patch) | |
tree | e13257b6af5427ca14c3de331be63604676eef0d /src/main | |
parent | 5190017bc8f7bb1177da239842e4b3a18a888d8c (diff) | |
download | NotEnoughUpdates-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.kt | 2 |
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) |