Allow customisation of kicking during initial server connection. In particular allow removal of server name by modification of messages.properties.
This commit is contained in:
@@ -217,7 +217,7 @@ public class ServerConnector extends PacketHandler
|
||||
throw CancelSendSignal.INSTANCE;
|
||||
}
|
||||
|
||||
String message = bungee.getTranslation( "connect_kick" ) + target.getName() + ": " + event.getKickReason();
|
||||
String message = bungee.getTranslation( "connect_kick", target.getName() ) + event.getKickReason();
|
||||
if ( user.isDimensionChange() )
|
||||
{
|
||||
user.disconnect( message );
|
||||
|
Reference in New Issue
Block a user