Fixed pregen shutdown scheduling

- Scheduler admission avoids the plugin manager monitor
- Saving callbacks no longer block the joined pregenerator during disable
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-06 17:41:40 -04:00
commit 04103bd15a
2 files changed
+224 -1

No files matched your search

@@ -772,7 +772,7 @@ public class J {
}
private static boolean isPluginEnabled() {
return usesBukkitScheduler() && BukkitPlatform.hasPlugin() && Bukkit.getPluginManager().isPluginEnabled(BukkitPlatform.plugin());
return usesBukkitScheduler() && BukkitPlatform.hasPlugin() && BukkitPlatform.plugin().isEnabled();
}
private static boolean canSchedule() {