Server admins see stack trace and die. See #225

This commit is contained in:
md_5 2013-03-24 08:41:25 +11:00
parent 04fb1df3e1
commit 81fe547a7c

View File

@ -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