Pretty up login fail message. Fixes #201
This commit is contained in:
parent
d6e29b3f29
commit
05d76c3f67
@ -135,10 +135,10 @@ public final class UserConnection implements ProxiedPlayer
|
|||||||
{
|
{
|
||||||
if ( server == null )
|
if ( server == null )
|
||||||
{
|
{
|
||||||
disconnect( "Server down, could not connect to default! " + future.cause().getClass().getName() );
|
disconnect( "Could not connect to default server, please try again later: " + future.cause().getClass().getName() );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
sendMessage( ChatColor.RED + "Could not connect to target server: " + future.cause().getClass().getName() );
|
sendMessage( ChatColor.RED + "Could not connect to selected server, please try again later: " + future.cause().getClass().getName() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user