From dd6a3e3d657344f32ccf85fb112a21cd46dbd974 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 17 Sep 2025 21:08:20 +0200 Subject: fix: status effects being inverted --- src/main/kotlin/util/SBData.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/util/SBData.kt b/src/main/kotlin/util/SBData.kt index 8675842..27a3edc 100644 --- a/src/main/kotlin/util/SBData.kt +++ b/src/main/kotlin/util/SBData.kt @@ -41,6 +41,12 @@ object SBData { */ val skyblockLocation: SkyBlockIsland? get() = locraw?.skyblockLocation val hasValidLocraw get() = locraw?.server !in listOf("limbo", null) + + /** + * Check if the player is currently on skyblock. + * + * Nota bene: We don't generally disable features outside of SkyBlock unless they could lead to bans. + */ val isOnSkyblock get() = locraw?.gametype == "SKYBLOCK" var profileIdCommandDebounce = TimeMark.farPast() fun init() { -- cgit