Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
e2a2344c89
Commit
66b601bbfd
@ -80,7 +80,7 @@ public class Substring implements SpecialCommand {
|
||||
} else {
|
||||
result = new Value.StringValue(v1.asString().substring((int) v2.asLong()));
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
} catch (ArrayIndexOutOfBoundsException | StringIndexOutOfBoundsException e) {
|
||||
result = new Value.StringValue("");
|
||||
}
|
||||
scriptExecutor.getLocalVariables().putValue(resultName, result);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren