Allow proper integration with NMS WorldTypes

By: md-5 <md_5@bigpond.com>
This commit is contained in:
Bukkit/Spigot 2012-01-14 11:15:56 +11:00
parent 48ecb11c09
commit c0bb2b55b2

View file

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