diff --git a/src/de/steamwar/spectatesystem/PacketProcessor.java b/src/de/steamwar/spectatesystem/PacketProcessor.java index 824e321..b372e7b 100644 --- a/src/de/steamwar/spectatesystem/PacketProcessor.java +++ b/src/de/steamwar/spectatesystem/PacketProcessor.java @@ -404,7 +404,7 @@ class PacketProcessor { } if(source.isClosed()){ - execSync(() -> endSpectating()); + Bukkit.getScheduler().runTask(SpectateSystem.get(), this::endSpectating); task.cancel(); } }