From 62c0f6553e226299d21894f7809097533d0263a5 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Wed, 9 Dec 2020 21:09:54 +0100 Subject: [PATCH] fix 4878 by always calling events using bukkit singleton --- Spigot-Server-Patches/Add-exception-reporting-event.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Add-exception-reporting-event.patch b/Spigot-Server-Patches/Add-exception-reporting-event.patch index c4b810cfa..e79f6570b 100644 --- a/Spigot-Server-Patches/Add-exception-reporting-event.patch +++ b/Spigot-Server-Patches/Add-exception-reporting-event.patch @@ -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 {