mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01:00
12 lines
571 B
Diff
12 lines
571 B
Diff
--- a/net/minecraft/server/CustomFunction.java
|
|
+++ b/net/minecraft/server/CustomFunction.java
|
|
@@ -122,7 +122,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
|
|
}
|
|
|
|
public String toString() {
|