mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 22:14:40 +01:00
11 lines
611 B
Diff
11 lines
611 B
Diff
--- a/net/minecraft/server/CustomFunction.java
|
|
+++ b/net/minecraft/server/CustomFunction.java
|
|
@@ -48,7 +48,7 @@
|
|
}
|
|
|
|
try {
|
|
- ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.a().getCommandDispatcher().a().parse(stringreader, customfunctiondata.g());
|
|
+ ParseResults<CommandListenerWrapper> parseresults = customfunctiondata.d().parse(stringreader, customfunctiondata.g()); // CraftBukkit
|
|
|
|
if (parseresults.getReader().canRead()) {
|
|
throw CommandDispatcher.a(parseresults);
|