3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00
Paper/nms-patches/CustomFunction.patch

12 Zeilen
548 B
Diff

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