summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-03-31 21:48:46 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-03-31 21:48:46 +0000
commit6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08 (patch)
tree3c01a5611d2629b7842aed0b47f48f08eb4c0ee8
parent6e9561764f5aa138f689728d3b9f62e5bc6219f2 (diff)
downloadEssentials-6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08.tar
Essentials-6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08.tar.gz
Essentials-6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08.tar.lz
Essentials-6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08.tar.xz
Essentials-6416041d2233da8c6fc4a9ca0ffb738f2cbbfa08.zip
wolf spawn
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1051 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/Mob.java8
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java2
2 files changed, 7 insertions, 3 deletions
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> <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;
}