diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-07-06 08:42:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-06 08:42:41 +0200 |
commit | e6021c9ae79af2c34a6dce8f459c0a3205a88ff1 (patch) | |
tree | 88b1946c2e54c93ff98a91e68df1be05aeebe2c9 | |
parent | b81896885d37df64ec01d39a9adbb59a269e387c (diff) | |
download | skyhanni-e6021c9ae79af2c34a6dce8f459c0a3205a88ff1.tar.gz skyhanni-e6021c9ae79af2c34a6dce8f459c0a3205a88ff1.tar.bz2 skyhanni-e6021c9ae79af2c34a6dce8f459c0a3205a88ff1.zip |
Fix: HypixelData Npe (#2193)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt index 94b1dc283..dbcf12760 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt @@ -394,7 +394,7 @@ object HypixelData { } } - serverNameConnectionPattern.matchMatcher(mc.getCurrentServerData().serverIP) { + serverNameConnectionPattern.matchMatcher(mc.currentServerData?.serverIP ?: "") { hypixel = true if (group("prefix") == "alpha.") { hypixelAlpha = true |