Don't blow up the fallback method just because a plugin isn't
compatible.
Dieser Commit ist enthalten in:
Ursprung
debf8c4d88
Commit
f0651f7170
@ -166,7 +166,11 @@ public final class PacketFilterManager implements ProtocolManager {
|
|||||||
// Make sure the current listeners are compatible
|
// Make sure the current listeners are compatible
|
||||||
if (lastSuccessfulHook != null) {
|
if (lastSuccessfulHook != null) {
|
||||||
for (PacketListener listener : packetListeners) {
|
for (PacketListener listener : packetListeners) {
|
||||||
|
try {
|
||||||
checkListener(listener);
|
checkListener(listener);
|
||||||
|
} catch (IllegalStateException e) {
|
||||||
|
logger.log(Level.WARNING, "Unsupported listener.", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren