summaryrefslogtreecommitdiffstats
path: root/nms-patches/CustomFunction.patch
diff options
context:
space:
mode:
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() {