Fix If
Dieser Commit ist enthalten in:
Ursprung
91cc6bc64c
Commit
98dfe9ed11
@ -68,9 +68,7 @@ public class If implements SpecialCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setIndex(ScriptExecutor scriptExecutor, String name) {
|
private void setIndex(ScriptExecutor scriptExecutor, String name) {
|
||||||
int jp = scriptExecutor.jumpPoints.getOrDefault(name, -1);
|
Integer jp = scriptExecutor.jumpPoints.getOrDefault(name, null);
|
||||||
if (jp != -1) {
|
if (jp != null) scriptExecutor.setIndex(jp);
|
||||||
scriptExecutor.setIndex(jp);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren