Fix case sensitive TabCompletes
Dieser Commit ist enthalten in:
Ursprung
54c3c8e203
Commit
e56d4c0e42
@ -47,7 +47,7 @@ public class SWCommandUtils {
|
||||
static final BiFunction<Class<Enum<?>>, String, Enum<?>> ENUM_MAPPER = (enumClass, s) -> {
|
||||
Enum<?>[] enums = enumClass.getEnumConstants();
|
||||
for (Enum<?> e : enums) {
|
||||
if (e.name().equals(s)) return e;
|
||||
if (e.name().equalsIgnoreCase(s)) return e;
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren