Baby wolfs, awwwwh

This commit is contained in:
snowleo 2011-11-25 05:54:32 +01:00
parent 613cb57fdb
commit 03452bda68

View File

@ -188,7 +188,8 @@ public class Commandspawnmob extends EssentialsCommand
if (("Sheep".equalsIgnoreCase(type) if (("Sheep".equalsIgnoreCase(type)
|| "Cow".equalsIgnoreCase(type) || "Cow".equalsIgnoreCase(type)
|| "Chicken".equalsIgnoreCase(type) || "Chicken".equalsIgnoreCase(type)
|| "Pig".equalsIgnoreCase(type)) || "Pig".equalsIgnoreCase(type)
|| "Wolf".equalsIgnoreCase(type))
&& data.equalsIgnoreCase("baby")) && data.equalsIgnoreCase("baby"))
{ {
((Animals)spawned).setAge(-24000); ((Animals)spawned).setAge(-24000);