diff --git a/src/main/java/net/silentclient/client/mods/util/Server.java b/src/main/java/net/silentclient/client/mods/util/Server.java index ba93469..1f47cd2 100644 --- a/src/main/java/net/silentclient/client/mods/util/Server.java +++ b/src/main/java/net/silentclient/client/mods/util/Server.java @@ -29,7 +29,7 @@ public class Server { return false; } try { - String serverIp = Minecraft.getMinecraft().getCurrentServerData().serverIP; + String serverIp = Minecraft.getMinecraft().getCurrentServerData().serverIP.toLowerCase(); final String regex = "^(?:.*\\.)?hypixel\\.(?:net|io)\\.?"; final Pattern pattern = Pattern.compile(regex, Pattern.MULTILINE); @@ -44,7 +44,7 @@ public class Server { return false; } try { - String serverIp = Minecraft.getMinecraft().getCurrentServerData().serverIP; + String serverIp = Minecraft.getMinecraft().getCurrentServerData().serverIP.toLowerCase(); final String regex = "^(?:.*\\.)?ruhypixel\\.(?:net)\\.?"; final Pattern pattern = Pattern.compile(regex, Pattern.MULTILINE);