practise server implementation v2
This commit is contained in:
parent
1cc41bb255
commit
7c9f305b2f
1 changed files with 1 additions and 1 deletions
|
@ -53,6 +53,6 @@ public class ZombiesUtils {
|
||||||
return hotkeys;
|
return hotkeys;
|
||||||
}
|
}
|
||||||
public static boolean isHypixel() {
|
public static boolean isHypixel() {
|
||||||
return Minecraft.getMinecraft().getCurrentServerData().serverIP.matches(".*(hypixel\\.net)(:25565)?");
|
return Minecraft.getMinecraft().getCurrentServerData().serverIP.matches("(.+\\.)?(hypixel\\.net)(:25565)?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue