Fix ItemBindCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-09-22 23:18:24 +02:00
Ursprung c0880fc62a
Commit 438010a7fb

Datei anzeigen

@ -74,7 +74,11 @@ public class ItemBindCommand extends SWCommand {
}
if (tabCompletes == null) return null;
if (args.length == 0) {
return tabCompletes.stream().map(t -> t.substring(1)).filter(t -> !t.contains(":")).collect(Collectors.toSet());
return tabCompletes.stream()
.map(t -> t.substring(1))
.filter(t -> !t.contains(":"))
.filter(t -> !t.equals("bind"))
.collect(Collectors.toSet());
}
return tabCompletes;
}