mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-19 06:13: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,
|
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 {
|
||||||
|
Reference in New Issue
Block a user