PaperMC/nms-patches/CustomFunction.patch

12 lines
611 B
Diff
Raw Normal View History

--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
2019-04-23 12:00:00 +10:00
@@ -48,7 +48,7 @@
2018-07-15 10:00:00 +10:00
}
2018-07-15 10:00:00 +10:00
try {
2019-06-21 20:00:00 +10:00
- ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.a().getCommandDispatcher().a().parse(stringreader, customfunctiondata.g());
+ ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.d().parse(stringreader, customfunctiondata.g()); // CraftBukkit
2018-07-15 10:00:00 +10:00
if (parseresults.getReader().canRead()) {
2019-12-11 09:00:00 +11:00
throw CommandDispatcher.a(parseresults);