Fix /minecraft:... commands in script system
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
d64e7a9299
Commit
b5c2ef50df
@ -111,7 +111,7 @@ public final class ScriptExecutor {
|
|||||||
int executionPoints = 0;
|
int executionPoints = 0;
|
||||||
|
|
||||||
while (index < commands.size()) {
|
while (index < commands.size()) {
|
||||||
String command = commands.get(index);
|
String command = commands.get(index).trim();
|
||||||
index++;
|
index++;
|
||||||
if (executionPoints++ > 200) {
|
if (executionPoints++ > 200) {
|
||||||
BauSystem.MESSAGE.send("SCRIPT_SLEEP_ERROR", player);
|
BauSystem.MESSAGE.send("SCRIPT_SLEEP_ERROR", player);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren