mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 02:34:30 +01:00
fix 4878 by always calling events using bukkit singleton
This commit is contained in:
parent
896033a959
commit
62c0f6553e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue