From 98098481e9d680107bbd2eef17e3dcd31ac7ce7f Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Wed, 22 Jun 2011 19:20:14 +0100 Subject: [PATCH] Fixed default command alias to do an array --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 212ba7dbe0..2c41e0d4df 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 icanhasbukkit = new ArrayList(); + icanhasbukkit.add("version"); + configuration.setProperty("aliases.icanhasbukkit", icanhasbukkit); } }