Added VERSION_1_1 WorldType

This commit is contained in:
Nathan Adams 2012-03-02 18:38:12 +00:00
parent 3087f99fdf
commit 9b9a618a5f

View File

@ -1,15 +1,15 @@
package org.bukkit; package org.bukkit;
import java.util.Map;
import com.google.common.collect.Maps; import com.google.common.collect.Maps;
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("DEFAULT"), NORMAL("DEFAULT"),
FLAT("FLAT"); FLAT("FLAT"),
VERSION_1_1("DEFAULT_1_1");
private final static Map<String, WorldType> BY_NAME = Maps.newHashMap(); private final static Map<String, WorldType> BY_NAME = Maps.newHashMap();
private final String name; private final String name;