Make getByName actually return values.

By: md-5 <md_5@bigpond.com>
This commit is contained in:
Bukkit/Spigot 2012-01-13 16:12:55 +11:00
parent ae73f553fc
commit dee3ecfa81

View File

@ -15,7 +15,7 @@ public enum WorldType {
static {
for (WorldType type : values()) {
lookup.put(type.getName(), type);
lookup.put(type.name, type);
}
}