mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
4d6887228e
By: md_5 <git@md-5.net>
11 lines
561 B
Diff
11 lines
561 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, ((CustomFunctionData.CustomFunctionListener) icommandlistener).sender, this.a); // CraftBukkit
|
|
}
|
|
|
|
public String toString() {
|