PaperMC/nms-patches/CustomFunction.patch

12 lines
570 B
Diff
Raw Normal View History

--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
2018-08-26 04:00:00 +02:00
@@ -48,7 +48,7 @@
2018-07-15 02:00:00 +02:00
}
2018-07-15 02:00:00 +02:00
try {
2018-08-26 04:00:00 +02:00
- ParseResults parseresults = customfunctiondata.a().getCommandDispatcher().a().parse(stringreader, customfunctiondata.f());
+ ParseResults parseresults = customfunctiondata.d().parse(stringreader, customfunctiondata.f()); // CraftBukkit
2018-07-15 02:00:00 +02:00
if (parseresults.getReader().canRead()) {
if (parseresults.getExceptions().size() == 1) {