wolf spawn

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1051 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-03-31 21:48:46 +00:00
parent 6e9561764f
commit 6416041d22
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -33,7 +33,7 @@ public class Commandspawnmob extends EssentialsCommand
if (args.length < 1)
{
user.sendMessage("§cUsage: /spawnmob [mob]<,mount><:size> <quantity>");
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;
}