mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -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
|
||||
*/
|
||||
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;
|
||||
|
Reference in New Issue
Block a user