Skip to content

Commit 3567ebb

Browse files
mynameisbob1928Wide-Cat
authored andcommitted
Fix colon for port in ipFilter util
1 parent 7c324ad commit 3567ebb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/meteordevelopment/meteorclient/utils

src/main/java/meteordevelopment/meteorclient/utils/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,6 @@ public static boolean nameFilter(String text, char character) {
654654

655655
public static boolean ipFilter(String text, char character) {
656656
if (text.contains(":") && character == ':') return false;
657-
return (character >= 'a' && character <= 'z') || (character >= 'A' && character <= 'Z') || (character >= '0' && character <= '9') || character == '.' || character == '-';
657+
return (character >= 'a' && character <= 'z') || (character >= 'A' && character <= 'Z') || (character >= '0' && character <= '9') || character == '.' || character == '-' || character == ':';
658658
}
659659
}

0 commit comments

Comments
 (0)