mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 10:40:38 +03:00
Fixed default schematic size offset
This commit is contained in:
@@ -124,7 +124,7 @@ public class Schematic implements Publishable, Comparable<Schematic>{
|
||||
}
|
||||
|
||||
public static Schematic ofBlock(Block block){
|
||||
return new Schematic(Seq.with(new Stile(block, 0, 0, null, (byte)0)), new StringMap(), block.size, block.size);
|
||||
return new Schematic(Seq.with(new Stile(block, -block.sizeOffset, -block.sizeOffset, null, (byte)0)), new StringMap(), block.size, block.size);
|
||||
}
|
||||
|
||||
public static class Stile{
|
||||
|
||||
Reference in New Issue
Block a user