Custom outdated messages, tick!

This commit is contained in:
md_5 2013-07-02 19:26:21 +10:00
parent d3d11cf283
commit d1760dad93
2 changed files with 4 additions and 2 deletions

View File

@ -202,10 +202,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection
if ( handshake.getProcolVersion() > Vanilla.PROTOCOL_VERSION )
{
disconnect( "Outdated server!" );
disconnect( bungee.getTranslation( "outdated_server" ) );
} else if ( handshake.getProcolVersion() < Vanilla.PROTOCOL_VERSION )
{
disconnect( "Outdated client!" );
disconnect( bungee.getTranslation( "outdated_client" ) );
}
if ( handshake.getUsername().length() > 16 )

View File

@ -9,6 +9,8 @@ mojang_fail: Error occurred while contacting login servers, are they down?
no_permission: \u00a7cYou do not have permission to execute this command!
no_server: \u00a7cThe specified server does not exist
no_server_permission: \u00a7cYou don't have permission to access this server
outdated_client: Outdated Client!
outdated_server: Outdated Server!
proxy_full: Server is full
restart: [Proxy] Proxy restarting.
server_kick: [Kicked]