summaryrefslogtreecommitdiffstats
path: root/nms-patches/CustomFunction.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-06-25 09:46:19 +1000
committermd_5 <git@md-5.net>2017-06-25 09:46:19 +1000
commit258575110f7c0abc0e3c8b85254b22b28fca27b1 (patch)
tree6bf095cecdf15407d15990b70a4a6f0dbe35d2e9 /nms-patches/CustomFunction.patch
parent753a8e700db5216abcc53eb56a9c26226c1ad9ed (diff)
downloadcraftbukkit-258575110f7c0abc0e3c8b85254b22b28fca27b1.tar
craftbukkit-258575110f7c0abc0e3c8b85254b22b28fca27b1.tar.gz
craftbukkit-258575110f7c0abc0e3c8b85254b22b28fca27b1.tar.lz
craftbukkit-258575110f7c0abc0e3c8b85254b22b28fca27b1.tar.xz
craftbukkit-258575110f7c0abc0e3c8b85254b22b28fca27b1.zip
SPIGOT-3373: Fix /execute in gameloop functions
Diffstat (limited to 'nms-patches/CustomFunction.patch')
-rw-r--r--nms-patches/CustomFunction.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/CustomFunction.patch b/nms-patches/CustomFunction.patch
index 28838ae8..ea37c185 100644
--- a/nms-patches/CustomFunction.patch
+++ b/nms-patches/CustomFunction.patch
@@ -5,7 +5,7 @@
public void a(CustomFunctionData customfunctiondata, ICommandListener icommandlistener, ArrayDeque<CustomFunctionData.a> arraydeque, int i) {
- customfunctiondata.a().a(icommandlistener, this.a);
-+ CommandBlockListenerAbstract.executeSafely(icommandlistener, new org.bukkit.craftbukkit.command.CraftFunctionCommandSender(icommandlistener), this.a); // CraftBukkit
++ CommandBlockListenerAbstract.executeSafely(icommandlistener, ((CustomFunctionData.CustomFunctionListener) icommandlistener).sender, this.a); // CraftBukkit
}
public String toString() {