mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-25 10:38:19 +01:00
Catch more serious errors in the plugin verifier.
It doesn't make sense for the caller to handle those.
This commit is contained in:
parent
7e9860f4c0
commit
31b26fd0c5
@ -360,7 +360,7 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
|
||||
// Do nothing
|
||||
break;
|
||||
}
|
||||
} catch (IllegalStateException e) {
|
||||
} catch (Exception e) {
|
||||
reporter.reportWarning(this, Report.newBuilder(REPORT_PLUGIN_VERIFIER_ERROR).messageParam(e.getMessage()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user