Archiviert
13
0

Catch the right exception

Dieser Commit ist enthalten in:
Dan Mulloy 2016-05-17 17:04:19 -04:00
Ursprung 869b457810
Commit 411b7a2446

Datei anzeigen

@ -604,7 +604,7 @@ public class ChannelInjector extends ByteToMessageDecoder implements Injector {
// Save the channel injector
factory.cacheInjector(profile.getName(), this);
}
} catch (NullPointerException ex) {
} catch (IllegalArgumentException ex) { // Thrown by FuzzyReflection#getFields()
System.err.println(String.format("[ProtocolLib] Encountered NPE in handleLogin(%s, %s)", packetClass, packet));
System.err.println("PACKET_LOGIN_CLIENT = " + PACKET_LOGIN_CLIENT);
System.err.println("LOGIN_GAME_PROFILE = " + LOGIN_GAME_PROFILE);