From e6021c9ae79af2c34a6dce8f459c0a3205a88ff1 Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Sat, 6 Jul 2024 08:42:41 +0200 Subject: Fix: HypixelData Npe (#2193) --- src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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 -- cgit