summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-11-18 08:54:22 +1100
committermd_5 <git@md-5.net>2016-11-18 08:54:22 +1100
commit129efc132a53c04abf746e47aa898af752586abe (patch)
tree797822d87903f5c02886563b6c32490a2954066f /nms-patches
parent0dedba43d1eb6a0703983ee45a19f877454586a8 (diff)
downloadcraftbukkit-129efc132a53c04abf746e47aa898af752586abe.tar
craftbukkit-129efc132a53c04abf746e47aa898af752586abe.tar.gz
craftbukkit-129efc132a53c04abf746e47aa898af752586abe.tar.lz
craftbukkit-129efc132a53c04abf746e47aa898af752586abe.tar.xz
craftbukkit-129efc132a53c04abf746e47aa898af752586abe.zip
SPIGOT-2771: Safely execute command block commands
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/CommandBlockListenerAbstract.patch2
1 files changed, 1 insertions, 1 deletions
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");