diff --git a/common/src/main/java/com/loohp/interactivechat/objectholders/ICPlayerFactory.java b/common/src/main/java/com/loohp/interactivechat/objectholders/ICPlayerFactory.java index 1bfbb709..f03572d2 100644 --- a/common/src/main/java/com/loohp/interactivechat/objectholders/ICPlayerFactory.java +++ b/common/src/main/java/com/loohp/interactivechat/objectholders/ICPlayerFactory.java @@ -97,7 +97,7 @@ public void onLeave(PlayerQuitEvent event) { if (!REMOTE_UUID.contains(uuid)) { ICPlayer icplayer = ICPLAYERS.remove(uuid); if (icplayer != null && LOGGING_IN.remove(uuid) == null) { - Bukkit.getPluginManager().callEvent(new ICPlayerQuitEvent(icplayer, false)); + Scheduler.runTaskAsynchronously(InteractiveChat.plugin, () -> Bukkit.getPluginManager().callEvent(new ICPlayerQuitEvent(icplayer, false))); } } }