mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-28 23:10:32 +00:00
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:
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() {
|
||||
|
||||
Reference in new issue
Block a user