mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Allow proper integration with NMS WorldTypes
By: md-5 <md_5@bigpond.com>
This commit is contained in:
@@ -7,8 +7,8 @@ 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("normal"),
|
NORMAL("DEFAULT"),
|
||||||
FLAT("flat");
|
FLAT("FLAT");
|
||||||
|
|
||||||
private final static Map<String, WorldType> lookup = new HashMap<String, WorldType>();
|
private final static Map<String, WorldType> lookup = new HashMap<String, WorldType>();
|
||||||
private final String name;
|
private final String name;
|
||||||
|
Reference in New Issue
Block a user