1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-06 14:46:32 +02:00

Merge pull request #56 from Iaccidentally/patch-4

Allow spawning baby villagers and ocelots
This commit is contained in:
md-5
2012-03-03 00:34:00 -08:00

View File

@@ -216,6 +216,8 @@ public class Commandspawnmob extends EssentialsCommand
|| type == EntityType.MUSHROOM_COW || type == EntityType.MUSHROOM_COW
|| type == EntityType.CHICKEN || type == EntityType.CHICKEN
|| type == EntityType.PIG || type == EntityType.PIG
|| type == EntityType.VILLAGER
|| type == EntityType.OCELOT
|| type == EntityType.WOLF) || type == EntityType.WOLF)
&& data.equals("baby")) && data.equals("baby"))
{ {