mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-03 22:08:28 +00:00
wolf spawn
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1051 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
6e9561764f
commit
6416041d22
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue