mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed #4781
This commit is contained in:
parent
b0cdac59f0
commit
0672878920
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ public class Schematics implements Loadable{
|
|||
|
||||
if(tile != null && !counted.contains(tile.pos())
|
||||
&& (realBlock.isVisible() || realBlock instanceof CoreBlock)){
|
||||
Object config = tile.config();
|
||||
Object config = tile instanceof ConstructBuild cons ? cons.lastConfig : tile.config();
|
||||
|
||||
tiles.add(new Stile(realBlock, tile.tileX() + offsetX, tile.tileY() + offsetY, config, (byte)tile.rotation));
|
||||
counted.add(tile.pos());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue