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 a1105a79..16569dba 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -178,7 +178,7 @@ public final class UserConnection implements ProxiedPlayer if ( getServer() != null && Objects.equals( getServer().getInfo(), target ) ) { - sendMessage( ChatColor.RED + "Cannot connect to server you are already on!" ); + sendMessage( bungee.getTranslation( "already_connected" ) ); return; } if ( pendingConnects.contains( target ) ) diff --git a/proxy/src/main/resources/messages_en.properties b/proxy/src/main/resources/messages_en.properties index 3891dfc9..5bc25eee 100644 --- a/proxy/src/main/resources/messages_en.properties +++ b/proxy/src/main/resources/messages_en.properties @@ -1,5 +1,5 @@ alert: \u00a78[\u00a74Alert\u00a78]\u00a7r -already_connected: You are already connected to the server +already_connected: \u00a7cYou are already connected to this server already_connecting: \u00a7cAlready connecting to this server! connect_kick: \u00a7cKicked whilst connecting to current_server: \u00a76You are currently connected to