Made the order of aliases matter. We may or may not re-do this in a later build.

This commit is contained in:
Rigby 2011-07-13 04:14:28 +01:00 committed by Warren Loo
parent a9cdc36f2c
commit 9e49127c7d

View File

@ -567,7 +567,7 @@ public final class CraftServer implements Server {
public Map<String, String[]> getCommandAliases() { public Map<String, String[]> getCommandAliases() {
ConfigurationNode node = configuration.getNode("aliases"); ConfigurationNode node = configuration.getNode("aliases");
Map<String, String[]> result = new HashMap<String, String[]>(); Map<String, String[]> result = new LinkedHashMap<String, String[]>();
if (node != null) { if (node != null) {
for (String key : node.getKeys()) { for (String key : node.getKeys()) {