From 46b6f65764e59c8c270ed087a23c973266c4eb79 Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:37:45 +0100 Subject: [PATCH] Fix NPE with spark when CraftServer is not init yet (#11558) --- patches/server/Bundle-spark.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/Bundle-spark.patch b/patches/server/Bundle-spark.patch index 08b870585..1f7ece62f 100644 --- a/patches/server/Bundle-spark.patch +++ b/patches/server/Bundle-spark.patch @@ -292,13 +292,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 io.papermc.paper.command.brigadier.PaperCommands.INSTANCE.setValid(); // Paper - reset invalid state for event fire below io.papermc.paper.plugin.lifecycle.event.LifecycleEventRunner.INSTANCE.callReloadableRegistrarEvent(io.papermc.paper.plugin.lifecycle.event.types.LifecycleEvents.COMMANDS, io.papermc.paper.command.brigadier.PaperCommands.INSTANCE, org.bukkit.plugin.Plugin.class, io.papermc.paper.plugin.lifecycle.event.registrar.ReloadableRegistrarEvent.Cause.INITIAL); // Paper - call commands event for regular plugins @@ -0,0 +0,0 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop