From ffa011c7b102af0df0d515ccf4b48df2f6afbfb7 Mon Sep 17 00:00:00 2001 From: Outfluencer <48880402+Outfluencer@users.noreply.github.com> Date: Mon, 11 Mar 2024 04:24:02 +0100 Subject: [PATCH] =?UTF-8?q?#3622:=20Revert=20"#3256:=20Allow=20-=20and=20.?= =?UTF-8?q?=20in=20online=20mode=20as=20some=20accounts=20still=20have=20t?= =?UTF-8?q?hese=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f4f94d3b56019bb9c02e7a33842dba74e8877b11. --- proxy/src/main/java/net/md_5/bungee/util/AllowedCharacters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/util/AllowedCharacters.java b/proxy/src/main/java/net/md_5/bungee/util/AllowedCharacters.java index a9904cb8..fc18913c 100644 --- a/proxy/src/main/java/net/md_5/bungee/util/AllowedCharacters.java +++ b/proxy/src/main/java/net/md_5/bungee/util/AllowedCharacters.java @@ -17,7 +17,7 @@ public final class AllowedCharacters { if ( onlineMode ) { - return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_' || c == '.' || c == '-'; + return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_'; } else { // Don't allow spaces, Yaml config doesn't support them