diff --git a/src/de/steamwar/spectatesystem/PacketProcessor.java b/src/de/steamwar/spectatesystem/PacketProcessor.java index cbcb9d0..824e321 100644 --- a/src/de/steamwar/spectatesystem/PacketProcessor.java +++ b/src/de/steamwar/spectatesystem/PacketProcessor.java @@ -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(); }