Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
8e133f0832
Commit
ca338699fa
@ -46,7 +46,7 @@ public class If implements SpecialCommand {
|
|||||||
BauSystem.MESSAGE.send("SCRIPT_COMMAND_ERROR_NO_BOOLEAN", scriptExecutor.getPlayer());
|
BauSystem.MESSAGE.send("SCRIPT_COMMAND_ERROR_NO_BOOLEAN", scriptExecutor.getPlayer());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (v.asBoolean()) {
|
if (v.asBoolean() && command.length > 2) {
|
||||||
jumpToIndex(scriptExecutor, command[2]);
|
jumpToIndex(scriptExecutor, command[2]);
|
||||||
} else if (command.length > 3) {
|
} else if (command.length > 3) {
|
||||||
jumpToIndex(scriptExecutor, command[3]);
|
jumpToIndex(scriptExecutor, command[3]);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren