13
0

Fixing
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2024-05-18 12:52:34 +02:00
Ursprung 41c0117d06
Commit 089113f0c0

Datei anzeigen

@ -80,8 +80,15 @@ public class SearchPart extends SWCommand {
String current = query[i];
if (searchMapper.containsKey(current)) {
if (searchMapper.get(current) == null) {
if (current.equals("-public")) {
userId = 0;
switch (current) {
case "-public":
userId = 0;
break;
case "-ignoreCase":
isIgnoreCase.set(true);
break;
default:
throw new IllegalStateException("Unexpected value: " + current);
}
} else if (i + 1 < query.length) {
int finalI = i;
@ -114,9 +121,6 @@ public class SearchPart extends SWCommand {
}
predicates.add(node -> node.getOwner() != steamwarUser1.getId());
break;
case "-ignoreCase":
isIgnoreCase.set(true);
break;
default:
throw new IllegalStateException("Unexpected value: " + current);
}