mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Allow proper integration with NMS WorldTypes
By: md-5 <md_5@bigpond.com>
This commit is contained in:
parent
48ecb11c09
commit
c0bb2b55b2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue