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,
|
msg,
|
||||||
throwable);
|
throwable);
|
||||||
}
|
}
|
||||||
+ task.getOwner().getServer().getPluginManager().callEvent(
|
+ org.bukkit.Bukkit.getServer().getPluginManager().callEvent(
|
||||||
+ new ServerExceptionEvent(new ServerSchedulerException(msg, throwable, task)));
|
+ new ServerExceptionEvent(new ServerSchedulerException(msg, throwable, task)));
|
||||||
// Paper end
|
// Paper end
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue