diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/WorldType.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/WorldType.java b/src/main/java/org/bukkit/WorldType.java index acbf4c05..2525195a 100644 --- a/src/main/java/org/bukkit/WorldType.java +++ b/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); } } |