From 129efc132a53c04abf746e47aa898af752586abe Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 18 Nov 2016 08:54:22 +1100 Subject: SPIGOT-2771: Safely execute command block commands --- nms-patches/CommandBlockListenerAbstract.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/CommandBlockListenerAbstract.patch b/nms-patches/CommandBlockListenerAbstract.patch index f23909ee..ca7ab2a4 100644 --- a/nms-patches/CommandBlockListenerAbstract.patch +++ b/nms-patches/CommandBlockListenerAbstract.patch @@ -28,7 +28,7 @@ this.d = null; - this.b = icommandhandler.a(this, this.e); + // CraftBukkit start - Handle command block commands using Bukkit dispatcher -+ this.b = executeCommand(this, sender, this.e); ++ this.b = executeSafely(this, sender, this.e); + // CraftBukkit end } catch (Throwable throwable) { CrashReport crashreport = CrashReport.a(throwable, "Executing command block"); -- cgit v1.2.3