diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-06-22 19:20:14 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-06-22 19:20:14 +0100 |
commit | 98098481e9d680107bbd2eef17e3dcd31ac7ce7f (patch) | |
tree | 23f340d6bb0f8f179ad4d4327e43dde25d2e3100 | |
parent | 0a3b89c8f8a750dbae4f8580ae9b5931d087ad2f (diff) | |
download | craftbukkit-98098481e9d680107bbd2eef17e3dcd31ac7ce7f.tar craftbukkit-98098481e9d680107bbd2eef17e3dcd31ac7ce7f.tar.gz craftbukkit-98098481e9d680107bbd2eef17e3dcd31ac7ce7f.tar.lz craftbukkit-98098481e9d680107bbd2eef17e3dcd31ac7ce7f.tar.xz craftbukkit-98098481e9d680107bbd2eef17e3dcd31ac7ce7f.zip |
Fixed default command alias to do an array
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 212ba7db..2c41e0d4 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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); } } |