mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-20 15:11:25 +01: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
@ -26,7 +26,8 @@ public enum Mob
|
|||||||
SPIDER("Spider", Enemies.ENEMY),
|
SPIDER("Spider", Enemies.ENEMY),
|
||||||
SQUID("Squid", Enemies.FRIENDLY),
|
SQUID("Squid", Enemies.FRIENDLY),
|
||||||
ZOMBIE("Zombie", Enemies.ENEMY),
|
ZOMBIE("Zombie", Enemies.ENEMY),
|
||||||
MONSTER("Monster", Enemies.ENEMY);
|
MONSTER("Monster", Enemies.ENEMY),
|
||||||
|
WOLF("Wolf", Enemies.NEUTRAL);
|
||||||
|
|
||||||
public static final Logger logger = Logger.getLogger("Minecraft");
|
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
|
public CraftEntity spawn(Player player, Server server) throws MobException
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -33,7 +33,7 @@ public class Commandspawnmob extends EssentialsCommand
|
|||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
user.sendMessage("§cUsage: /spawnmob [mob]<,mount><:size> <quantity>");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user