This commit is contained in:
parent
5ba689841f
commit
916b163ea8
1 changed files with 1 additions and 2 deletions
|
@ -140,9 +140,8 @@ public class LabyrinthServer {
|
||||||
if (name == null) {
|
if (name == null) {
|
||||||
return Option.none();
|
return Option.none();
|
||||||
}
|
}
|
||||||
final String nameLC = name.toLowerCase();
|
|
||||||
return Stream.of(values())
|
return Stream.of(values())
|
||||||
.find(param -> param.names.contains(nameLC));
|
.find(param -> param.names.exists(name::equalsIgnoreCase));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue