summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-06-22 19:20:14 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-06-22 19:20:14 +0100
commit98098481e9d680107bbd2eef17e3dcd31ac7ce7f (patch)
tree23f340d6bb0f8f179ad4d4327e43dde25d2e3100 /src/main/java/org/bukkit
parent0a3b89c8f8a750dbae4f8580ae9b5931d087ad2f (diff)
downloadcraftbukkit-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
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java4
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);
}
}