summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authormd-5 <md_5@bigpond.com>2012-01-13 16:12:55 +1100
committerErik Broes <erikbroes@grum.nl>2012-01-13 07:32:32 +0100
commit389d70dbe2279253cf5ea5fcb97a6ed894f9e426 (patch)
treeba99c906cd4754dc8e178ae6f95bab6e893af932 /src/main/java
parent1cba399b722405bc774c0dde0392481cf8307331 (diff)
downloadbukkit-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.java2
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);
}
}