1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-24 15:23:20 +02:00

add common cat type name aliases

This commit is contained in:
Necrodoom
2013-02-03 15:13:36 +02:00
parent 9076084c2f
commit 5089e694f6

View File

@@ -238,15 +238,15 @@ public class SpawnMob
if (type == EntityType.OCELOT) if (type == EntityType.OCELOT)
{ {
if (data.contains("siamese")) if (data.contains("siamese") || data.contains("white"))
{ {
((Ocelot)spawned).setCatType(Ocelot.Type.SIAMESE_CAT); ((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); ((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); ((Ocelot)spawned).setCatType(Ocelot.Type.BLACK_CAT);
} }