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