mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 06:20:02 +00:00
Fixed pregenerator shutdown lock
- Scheduler admission reads the hosted plugin state without taking the plugin manager monitor - Shutdown regression joins a worker already dispatching a saving event - Event tests preserve normal delivery and full failure reporting during scheduler rejection
This commit is contained in:
1 parent
2415825bb7
commit
be621c0074
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