13
0
geforkt von Mirrors/Paper

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

By: Tahg <tahgtahv@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-12-20 16:10:54 -05:00
Ursprung 732b59ed1e
Commit 7540ab7e68

Datei anzeigen

@ -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;