Added VERSION_1_1 WorldType

This commit is contained in:
Nathan Adams
2012-03-02 18:38:12 +00:00
parent 5df84f3f66
commit 5d0d54f9b5

View File

@@ -1,15 +1,15 @@
package org.bukkit;
import java.util.Map;
import com.google.common.collect.Maps;
import java.util.Map;
/**
* Represents various types of worlds that may exist
*/
public enum WorldType {
NORMAL("DEFAULT"),
FLAT("FLAT");
FLAT("FLAT"),
VERSION_1_1("DEFAULT_1_1");
private final static Map<String, WorldType> BY_NAME = Maps.newHashMap();
private final String name;