From 05f337c63c78d5bd731bad4f353d63b1ff2f5710 Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Sun, 3 Feb 2013 15:13:36 +0200 Subject: [PATCH] add common cat type name aliases --- Essentials/src/com/earth2me/essentials/SpawnMob.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/SpawnMob.java b/Essentials/src/com/earth2me/essentials/SpawnMob.java index cdb00cb3d..06259b997 100644 --- a/Essentials/src/com/earth2me/essentials/SpawnMob.java +++ b/Essentials/src/com/earth2me/essentials/SpawnMob.java @@ -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); }