Add name_too_long translation
This commit is contained in:
parent
8c367d86e7
commit
7faefde51b
@ -238,7 +238,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
|||||||
|
|
||||||
if ( getName().length() > 16 )
|
if ( getName().length() > 16 )
|
||||||
{
|
{
|
||||||
disconnect( "Cannot have username longer than 16 characters" );
|
disconnect( bungee.getTranslation( "name_too_long" ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,3 +19,4 @@ server_kick=[Kicked]
|
|||||||
server_list=\u00a76You may connect to the following servers at this time:
|
server_list=\u00a76You may connect to the following servers at this time:
|
||||||
server_went_down=\u00a7cThe server you were previously on went down, you have been connected to the lobby
|
server_went_down=\u00a7cThe server you were previously on went down, you have been connected to the lobby
|
||||||
total_players=Total players online: {0}
|
total_players=Total players online: {0}
|
||||||
|
name_too_long=Cannot have username longer than 16 characters
|
||||||
|
Loading…
Reference in New Issue
Block a user