SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix TimeCommand

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-08-23 22:58:09 +02:00
Ursprung 4e68fe802d
Commit c6af4e2c65

Datei anzeigen

@ -23,6 +23,7 @@ import de.steamwar.bausystem.BauSystem;
import de.steamwar.bausystem.Permission;
import de.steamwar.bausystem.linkage.LinkageType;
import de.steamwar.bausystem.linkage.Linked;
import de.steamwar.command.CommandParseException;
import de.steamwar.command.SWCommand;
import de.steamwar.command.SWCommandUtils;
import de.steamwar.command.TypeMapper;
@ -77,7 +78,7 @@ public class TimeCommand extends SWCommand {
try {
return Integer.parseInt(s);
} catch (NumberFormatException e) {
return 0;
return null;
}
}, s -> tabCompletions);
}