mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Make getByName actually return values.
By: md-5 <md_5@bigpond.com>
This commit is contained in:
parent
ae73f553fc
commit
dee3ecfa81
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public enum WorldType {
|
|||
|
||||
static {
|
||||
for (WorldType type : values()) {
|
||||
lookup.put(type.getName(), type);
|
||||
lookup.put(type.name, type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue