mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Added VERSION_1_1 WorldType
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user