1
0
Fork 0
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:
MiniDigger | Martin 2020-12-09 21:09:54 +01:00
parent 896033a959
commit 62c0f6553e

View file

@ -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 {