A context's arguments should be sorted
This commit is contained in:
parent
42631c29b7
commit
7f490f0a8b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import com.mojang.brigadier.tree.CommandNode;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public class CommandContextBuilder<S> {
|
public class CommandContextBuilder<S> {
|
||||||
private final Map<String, ParsedArgument<S, ?>> arguments = Maps.newHashMap();
|
private final Map<String, ParsedArgument<S, ?>> arguments = Maps.newLinkedHashMap();
|
||||||
private final Map<CommandNode<S>, String> nodes = Maps.newLinkedHashMap();
|
private final Map<CommandNode<S>, String> nodes = Maps.newLinkedHashMap();
|
||||||
private final CommandDispatcher<S> dispatcher;
|
private final CommandDispatcher<S> dispatcher;
|
||||||
private final StringBuilder input = new StringBuilder();
|
private final StringBuilder input = new StringBuilder();
|
||||||
|
|
Loading…
Reference in a new issue