SteamWar/BauSystem
Archiviert
13
0

Merge pull request 'Add rotate of schematic if pasted as testblock, when check type or fight type' (#242) from SchemRotatability into master

Reviewed-on: #242
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
YoyoNow 2021-04-09 17:50:07 +02:00
Commit e45c2fa772

Datei anzeigen

@ -151,6 +151,9 @@ public class Prototype {
if (schem == null) { if (schem == null) {
return paste(new File(schematic), x, y, z, rotate, ignoreAir, color); return paste(new File(schematic), x, y, z, rotate, ignoreAir, color);
} else { } else {
if (schem.getSchemType().fightType() || schem.getSchemType().check()) {
return paste(schem.load(), x, y, z, !rotate, ignoreAir, color);
}
return paste(schem.load(), x, y, z, rotate, ignoreAir, color); return paste(schem.load(), x, y, z, rotate, ignoreAir, color);
} }
} }