diff options
author | Tahg <tahgtahv@gmail.com> | 2011-12-20 16:10:54 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-12-20 18:01:44 -0500 |
commit | bd24fdfacc29f62143a2da7e190bd347db147c91 (patch) | |
tree | 427f4439dc38c75385204a828c7137af592f4528 | |
parent | 189768185ca34cafa313d927e19039e2ea1d84b1 (diff) | |
download | bukkit-bd24fdfacc29f62143a2da7e190bd347db147c91.tar bukkit-bd24fdfacc29f62143a2da7e190bd347db147c91.tar.gz bukkit-bd24fdfacc29f62143a2da7e190bd347db147c91.tar.lz bukkit-bd24fdfacc29f62143a2da7e190bd347db147c91.tar.xz bukkit-bd24fdfacc29f62143a2da7e190bd347db147c91.zip |
Fixed some naming issues for creature types. Fix for BUKKIT-367
-rw-r--r-- | src/main/java/org/bukkit/entity/CreatureType.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/entity/CreatureType.java b/src/main/java/org/bukkit/entity/CreatureType.java index a4b85151..40c037da 100644 --- a/src/main/java/org/bukkit/entity/CreatureType.java +++ b/src/main/java/org/bukkit/entity/CreatureType.java @@ -5,6 +5,7 @@ import java.util.HashMap; import java.util.Map; public enum CreatureType { + // These strings MUST match the strings in nms.EntityTypes and are case sensitive. CHICKEN("Chicken", Chicken.class), COW("Cow", Cow.class), CREEPER("Creeper", Creeper.class), @@ -27,8 +28,8 @@ public enum CreatureType { VILLAGER("Villager", Villager.class), BLAZE("Blaze", Blaze.class), MUSHROOM_COW("MushroomCow", MushroomCow.class), - MAGMA_CUBE("MagmaCube", MagmaCube.class), - SNOWMAN("Snowman", Snowman.class); + MAGMA_CUBE("LavaSlime", MagmaCube.class), + SNOWMAN("SnowMan", Snowman.class); private String name; private Class<? extends Entity> clazz; |