diff --git a/paper-api/src/main/java/org/bukkit/WorldType.java b/paper-api/src/main/java/org/bukkit/WorldType.java index acbf4c052..2525195aa 100644 --- a/paper-api/src/main/java/org/bukkit/WorldType.java +++ b/paper-api/src/main/java/org/bukkit/WorldType.java @@ -15,7 +15,7 @@ public enum WorldType { static { for (WorldType type : values()) { - lookup.put(type.getName(), type); + lookup.put(type.name, type); } }