Skip to content

Commit

Permalink
Fix: HypixelData Npe (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderblade73 authored Jul 6, 2024
1 parent b818968 commit e6021c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ object HypixelData {
}
}

serverNameConnectionPattern.matchMatcher(mc.getCurrentServerData().serverIP) {
serverNameConnectionPattern.matchMatcher(mc.currentServerData?.serverIP ?: "") {
hypixel = true
if (group("prefix") == "alpha.") {
hypixelAlpha = true
Expand Down

0 comments on commit e6021c9

Please sign in to comment.