3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00
Paper/nms-patches/CustomFunction.patch

12 Zeilen
618 B
Diff

--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
2018-12-25 22:00:00 +01:00
@@ -47,7 +47,7 @@
2018-07-15 02:00:00 +02:00
}
2018-07-15 02:00:00 +02:00
try {
2018-12-25 22:00:00 +01:00
- ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.a().getCommandDispatcher().a().parse(stringreader, customfunctiondata.f());
+ ParseResults<CommandListenerWrapper> 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) {