diff --git a/Essentials/src/com/earth2me/essentials/Mob.java b/Essentials/src/com/earth2me/essentials/Mob.java index 3c0d9bd1e..895fdf886 100644 --- a/Essentials/src/com/earth2me/essentials/Mob.java +++ b/Essentials/src/com/earth2me/essentials/Mob.java @@ -26,7 +26,8 @@ public enum Mob SPIDER("Spider", Enemies.ENEMY), SQUID("Squid", Enemies.FRIENDLY), ZOMBIE("Zombie", Enemies.ENEMY), - MONSTER("Monster", Enemies.ENEMY); + MONSTER("Monster", Enemies.ENEMY), + WOLF("Wolf", Enemies.NEUTRAL); public static final Logger logger = Logger.getLogger("Minecraft"); @@ -77,7 +78,10 @@ public enum Mob } } - @SuppressWarnings({"unchecked", "CallToThreadDumpStack"}) + @SuppressWarnings( + { + "unchecked", "CallToThreadDumpStack" + }) public CraftEntity spawn(Player player, Server server) throws MobException { try diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java index c1c883a75..51c114147 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java @@ -33,7 +33,7 @@ public class Commandspawnmob extends EssentialsCommand if (args.length < 1) { user.sendMessage("§cUsage: /spawnmob [mob]<,mount><:size> "); - user.sendMessage("§7Mobs: Zombie PigZombie Skeleton Slime Chicken Pig Monster Spider Creeper Ghast Squid Giant Cow Sheep"); + user.sendMessage("§7Mobs: Zombie PigZombie Skeleton Slime Chicken Pig Monster Spider Creeper Ghast Squid Giant Cow Sheep Wolf"); return; }