mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 05:43:49 -07:00
fix 4878 by always calling events using bukkit singleton
This commit is contained in:
@@ -256,7 +256,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
msg,
|
||||
throwable);
|
||||
}
|
||||
+ task.getOwner().getServer().getPluginManager().callEvent(
|
||||
+ org.bukkit.Bukkit.getServer().getPluginManager().callEvent(
|
||||
+ new ServerExceptionEvent(new ServerSchedulerException(msg, throwable, task)));
|
||||
// Paper end
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user