diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-27 07:32:42 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-27 07:32:42 +0100 |
commit | 9b6c01d0716791ef0ca51eb97397c88a8b65891b (patch) | |
tree | 5b8e1837fbd182b63de3c03c9449d4ff2897de82 | |
parent | 3c71ae4cd96b38f7368c062281b8546a86773949 (diff) | |
download | Essentials-9b6c01d0716791ef0ca51eb97397c88a8b65891b.tar Essentials-9b6c01d0716791ef0ca51eb97397c88a8b65891b.tar.gz Essentials-9b6c01d0716791ef0ca51eb97397c88a8b65891b.tar.lz Essentials-9b6c01d0716791ef0ca51eb97397c88a8b65891b.tar.xz Essentials-9b6c01d0716791ef0ca51eb97397c88a8b65891b.zip |
/spawner without mobname outputs available mobs
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandspawner.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java index e92b29a93..bdbcc4a8c 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java @@ -23,8 +23,7 @@ public class Commandspawner extends EssentialsCommand { if (args.length < 1 || args[0].length() < 2) { - throw new NotEnoughArgumentsException(); - //TODO: user.sendMessage("ยง7Mobs: Zombie PigZombie Skeleton Slime Chicken Pig Monster Spider Creeper Ghast Squid Giant Cow Sheep Wolf"); + throw new NotEnoughArgumentsException(_("mobsAvailable", Util.joinList(Mob.getMobList()))); } final Location target = Util.getTarget(user); |