13
0
geforkt von Mirrors/Paper
Paper/paper-server/nms-patches/CustomFunction.patch
CraftBukkit/Spigot 691c25561d Ensure gameLoop function gets selectors applied.
By: md_5 <git@md-5.net>
2017-05-26 16:43:56 +10:00

12 Zeilen
571 B
Diff

--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
@@ -130,7 +130,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() {