geforkt von Mirrors/Paper
Added VERSION_1_1 WorldType
By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
e80616be97
Commit
8c85fe2a5a
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren