mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-22 11:21:57 +00:00
/spawner without mobname outputs available mobs
This commit is contained in:
parent
3c71ae4cd9
commit
9b6c01d071
|
@ -23,8 +23,7 @@ public class Commandspawner extends EssentialsCommand
|
||||||
{
|
{
|
||||||
if (args.length < 1 || args[0].length() < 2)
|
if (args.length < 1 || args[0].length() < 2)
|
||||||
{
|
{
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException(_("mobsAvailable", Util.joinList(Mob.getMobList())));
|
||||||
//TODO: user.sendMessage("§7Mobs: Zombie PigZombie Skeleton Slime Chicken Pig Monster Spider Creeper Ghast Squid Giant Cow Sheep Wolf");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final Location target = Util.getTarget(user);
|
final Location target = Util.getTarget(user);
|
||||||
|
|
Loading…
Reference in a new issue