aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorLuna <me@alexia.lol>2024-04-12 14:13:31 +0200
committerGitHub <noreply@github.com>2024-04-12 14:13:31 +0200
commit388819e61cf1229ef4a5d6ddeca1bd1dafd05e71 (patch)
treed23327bb36d749fa090a4666c2502335b9e2e800 /src/main/java/at/hannibal2/skyhanni/features/misc
parent2038424a4ade6f5b85942d7eeb9d0ace485e6d46 (diff)
downloadskyhanni-388819e61cf1229ef4a5d6ddeca1bd1dafd05e71.tar.gz
skyhanni-388819e61cf1229ef4a5d6ddeca1bd1dafd05e71.tar.bz2
skyhanni-388819e61cf1229ef4a5d6ddeca1bd1dafd05e71.zip
Fix: Clear SkyBlock area on world change (#1421)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
index e5741807b..77e854646 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
@@ -58,7 +58,7 @@ enum class DiscordStatus(private val displayMessageSupplier: Supplier<String>?)
NONE(null),
LOCATION({
- var location = LorenzUtils.skyBlockArea
+ var location = LorenzUtils.skyBlockArea ?: "invalid"
val island = LorenzUtils.skyBlockIsland
if (location == "Your Island") location = "Private Island"