SteamWar/BauSystem
Archiviert
13
0

Add replace multi space to single

Dieser Commit ist enthalten in:
yoyosource 2021-03-26 22:11:31 +01:00
Ursprung 31df594797
Commit b95ecb93b0

Datei anzeigen

@ -114,6 +114,7 @@ public class ScriptListener implements Listener {
for (String page : bookMeta.getPages()) {
for (String command : page.split("\n")) {
command = command.replaceAll(" +", " ");
if (command.startsWith("#") || command.trim().isEmpty()) continue;
if (command.startsWith(".")) {
jumpPoints.put(command.substring(1), commands.size());