Fix getMaterial and setMaterial
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-12-24 13:31:00 +01:00
Ursprung 514f771dfd
Commit 77e38d6d99
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -75,6 +75,6 @@ public class GetMaterial implements SpecialCommand {
int y = (int) scriptExecutor.getOrItselfValue(command[3]).asLong();
int z = (int) scriptExecutor.getOrItselfValue(command[4]).asLong();
scriptExecutor.getLocalVariables().putValue(command[1], new Value.StringValue(world.getBlockAt(x, y, z).getType().name()));
return false;
return true;
}
}

Datei anzeigen

@ -78,6 +78,6 @@ public class SetMaterial implements SpecialCommand {
} catch (Exception e) {
// Ignored
}
return false;
return true;
}
}