Fixed some naming issues for creature types. Fix for BUKKIT-367
This commit is contained in:
parent
189768185c
commit
bd24fdfacc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user