summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd-5 <md_5@bigpond.com>2012-03-03 00:34:00 -0800
committermd-5 <md_5@bigpond.com>2012-03-03 00:34:00 -0800
commitcea5c81d4463d7da71f9b4c3729b87ad3e9748bc (patch)
tree9ab193596f7ef1d2bf93fd088331cdd44e9b539f
parent504f28df1a7c094d27a0eaed10aa85417e4c4c3c (diff)
parent35576ab64ab05acee039d3e28b5bc0ef2d110bd7 (diff)
downloadEssentials-cea5c81d4463d7da71f9b4c3729b87ad3e9748bc.tar
Essentials-cea5c81d4463d7da71f9b4c3729b87ad3e9748bc.tar.gz
Essentials-cea5c81d4463d7da71f9b4c3729b87ad3e9748bc.tar.lz
Essentials-cea5c81d4463d7da71f9b4c3729b87ad3e9748bc.tar.xz
Essentials-cea5c81d4463d7da71f9b4c3729b87ad3e9748bc.zip
Merge pull request #56 from Iaccidentally/patch-4
Allow spawning baby villagers and ocelots
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
index 341a702ff..c64d75d2b 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java
@@ -216,6 +216,8 @@ public class Commandspawnmob extends EssentialsCommand
|| type == EntityType.MUSHROOM_COW
|| type == EntityType.CHICKEN
|| type == EntityType.PIG
+ || type == EntityType.VILLAGER
+ || type == EntityType.OCELOT
|| type == EntityType.WOLF)
&& data.equals("baby"))
{