Server admins see stack trace and die. See #225
This commit is contained in:
parent
04fb1df3e1
commit
81fe547a7c
@ -142,7 +142,9 @@ public class ServerConnector extends PacketHandler
|
|||||||
if ( !user.ch.isActive() )
|
if ( !user.ch.isActive() )
|
||||||
{
|
{
|
||||||
server.disconnect( "Quitting" );
|
server.disconnect( "Quitting" );
|
||||||
throw new IllegalStateException( "No client connected for pending server!" );
|
// Silly server admins see stack trace and die
|
||||||
|
bungee.getLogger().warning( "No client connected for pending server!" );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add to new server
|
// Add to new server
|
||||||
|
Loading…
Reference in New Issue
Block a user