Merge pull request #294 from necrodoom/patch-35

add common cat type name aliases
This commit is contained in:
Chris Ward 2013-02-03 05:16:17 -08:00
commit 5a13e9bbe5

View file

@ -238,15 +238,15 @@ public class SpawnMob
if (type == EntityType.OCELOT)
{
if (data.contains("siamese"))
if (data.contains("siamese") || data.contains("white"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.SIAMESE_CAT);
}
else if (data.contains("red"))
else if (data.contains("red") || data.contains("orange") || data.contains("tabby"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.RED_CAT);
}
else if (data.contains("black"))
else if (data.contains("black") || data.contains("tuxedo"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.BLACK_CAT);
}