mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 08:41:27 +01:00
Make getByName actually return values.
By: md-5 <md_5@bigpond.com>
This commit is contained in:
parent
ae73f553fc
commit
dee3ecfa81
@ -15,7 +15,7 @@ public enum WorldType {
|
||||
|
||||
static {
|
||||
for (WorldType type : values()) {
|
||||
lookup.put(type.getName(), type);
|
||||
lookup.put(type.name, type);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user