diff options
author | md-5 <md_5@bigpond.com> | 2012-01-13 16:12:55 +1100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-13 07:32:32 +0100 |
commit | 389d70dbe2279253cf5ea5fcb97a6ed894f9e426 (patch) | |
tree | ba99c906cd4754dc8e178ae6f95bab6e893af932 /src/main/java | |
parent | 1cba399b722405bc774c0dde0392481cf8307331 (diff) | |
download | bukkit-389d70dbe2279253cf5ea5fcb97a6ed894f9e426.tar bukkit-389d70dbe2279253cf5ea5fcb97a6ed894f9e426.tar.gz bukkit-389d70dbe2279253cf5ea5fcb97a6ed894f9e426.tar.lz bukkit-389d70dbe2279253cf5ea5fcb97a6ed894f9e426.tar.xz bukkit-389d70dbe2279253cf5ea5fcb97a6ed894f9e426.zip |
Make getByName actually return values.
Diffstat (limited to 'src/main/java')
-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); } } |