3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +01:00
Paper/nms-patches/CustomFunction.patch

12 Zeilen
638 B
Diff

--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
2019-04-23 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 {
2020-01-21 22:00:00 +01:00
- ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.getServer().getCommandDispatcher().a().parse(stringreader, customfunctiondata.g());
+ ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.getCommandDispatcher().parse(stringreader, customfunctiondata.g()); // CraftBukkit
2018-07-15 02:00:00 +02:00
if (parseresults.getReader().canRead()) {
2019-12-10 23:00:00 +01:00
throw CommandDispatcher.a(parseresults);