Allow proper integration with NMS WorldTypes

This commit is contained in:
md-5 2012-01-14 11:15:56 +11:00
parent ce4f4af087
commit d4a9b5c489

View File

@ -7,8 +7,8 @@ import java.util.Map;
* Represents various types of worlds that may exist * Represents various types of worlds that may exist
*/ */
public enum WorldType { public enum WorldType {
NORMAL("normal"), NORMAL("DEFAULT"),
FLAT("flat"); FLAT("FLAT");
private final static Map<String, WorldType> lookup = new HashMap<String, WorldType>(); private final static Map<String, WorldType> lookup = new HashMap<String, WorldType>();
private final String name; private final String name;