Fixed default command alias to do an array

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-06-22 19:20:14 +01:00
parent 5ff4a9570f
commit 5cfd050f9f

View file

@ -103,7 +103,9 @@ public final class CraftServer implements Server {
configuration.getInt("settings.spawn-radius", 16);
if (configuration.getNode("aliases") == null) {
configuration.setProperty("aliases.icanhasbukkit", "version");
List<String> icanhasbukkit = new ArrayList<String>();
icanhasbukkit.add("version");
configuration.setProperty("aliases.icanhasbukkit", icanhasbukkit);
}
}