mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Ensure gameLoop function gets selectors applied.
By: md_5 <git@md-5.net>
This commit is contained in:
11
paper-server/nms-patches/CustomFunction.patch
Normal file
11
paper-server/nms-patches/CustomFunction.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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() {
|
Reference in New Issue
Block a user