Try catch
Dieser Commit ist enthalten in:
Ursprung
b73052c5e0
Commit
fccd3ff142
@ -70,7 +70,11 @@ class PacketProcessor {
|
||||
private void runSync() {
|
||||
synchronized (syncList) {
|
||||
for(Runnable runnable : syncList) {
|
||||
runnable.run();
|
||||
try{
|
||||
runnable.run();
|
||||
}catch (Exception e) {
|
||||
Bukkit.getLogger().log(Level.WARNING, "Failed to execute packet", e);
|
||||
}
|
||||
}
|
||||
syncList.clear();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren