Make getByName actually return values.
This commit is contained in:
parent
1cba399b72
commit
389d70dbe2
@ -15,7 +15,7 @@ public enum WorldType {
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
for (WorldType type : values()) {
|
for (WorldType type : values()) {
|
||||||
lookup.put(type.getName(), type);
|
lookup.put(type.name, type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user