Fixed some naming issues for creature types. Fix for BUKKIT-367

This commit is contained in:
Tahg 2011-12-20 16:10:54 -05:00
parent 189768185c
commit bd24fdfacc

View File

@ -5,6 +5,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
public enum CreatureType { public enum CreatureType {
// These strings MUST match the strings in nms.EntityTypes and are case sensitive.
CHICKEN("Chicken", Chicken.class), CHICKEN("Chicken", Chicken.class),
COW("Cow", Cow.class), COW("Cow", Cow.class),
CREEPER("Creeper", Creeper.class), CREEPER("Creeper", Creeper.class),
@ -27,8 +28,8 @@ public enum CreatureType {
VILLAGER("Villager", Villager.class), VILLAGER("Villager", Villager.class),
BLAZE("Blaze", Blaze.class), BLAZE("Blaze", Blaze.class),
MUSHROOM_COW("MushroomCow", MushroomCow.class), MUSHROOM_COW("MushroomCow", MushroomCow.class),
MAGMA_CUBE("MagmaCube", MagmaCube.class), MAGMA_CUBE("LavaSlime", MagmaCube.class),
SNOWMAN("Snowman", Snowman.class); SNOWMAN("SnowMan", Snowman.class);
private String name; private String name;
private Class<? extends Entity> clazz; private Class<? extends Entity> clazz;