A context's arguments should be sorted

This commit is contained in:
Nathan Adams 2017-07-27 14:06:58 +02:00
parent 42631c29b7
commit 7f490f0a8b

View file

@ -8,7 +8,7 @@ import com.mojang.brigadier.tree.CommandNode;
import java.util.Map;
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 CommandDispatcher<S> dispatcher;
private final StringBuilder input = new StringBuilder();