aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt2
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