diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 6f0a3297e..d882bad63 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -443,6 +443,6 @@ public final class UserConnection implements ProxiedPlayer @Override public Locale getLocale() { - return ( locale == null && settings != null ) ? locale = Locale.forLanguageTag( settings.getLocale() ) : locale; + return ( locale == null && settings != null ) ? locale = Locale.forLanguageTag( settings.getLocale().replaceAll( "_", "-" ) ) : locale; } }