diff --git a/src/main/java/com/github/stachelbeere1248/zombiesutils/ZombiesUtils.java b/src/main/java/com/github/stachelbeere1248/zombiesutils/ZombiesUtils.java index 53a1ffc..bfe1803 100644 --- a/src/main/java/com/github/stachelbeere1248/zombiesutils/ZombiesUtils.java +++ b/src/main/java/com/github/stachelbeere1248/zombiesutils/ZombiesUtils.java @@ -53,6 +53,6 @@ public class ZombiesUtils { return hotkeys; } public static boolean isHypixel() { - return Minecraft.getMinecraft().getCurrentServerData().serverIP.matches(".*(hypixel\\.net)(:25565)?"); + return Minecraft.getMinecraft().getCurrentServerData().serverIP.matches("(.+\\.)?(hypixel\\.net)(:25565)?"); } }