oops
This commit is contained in:
parent
eeb0344d9c
commit
fdaa144a18
1 changed files with 1 additions and 1 deletions
2
s2b.rb
2
s2b.rb
|
@ -119,7 +119,7 @@ def schematicToBO2(schematic, zoffset)
|
||||||
rows.each_with_index do |columns, x|
|
rows.each_with_index do |columns, x|
|
||||||
x -= schematic["Width"] / 2 # Center the object on the X axis
|
x -= schematic["Width"] / 2 # Center the object on the X axis
|
||||||
columns.each_with_index do |(block, data), y|
|
columns.each_with_index do |(block, data), y|
|
||||||
if block == 0 || 63 || (block == 35 && (data == 2 || data == 11)) then # We ignore air, standing sign, magentawool and (dark) blue wool
|
if block == 0 || block == 63 || (block == 35 && (data == 2 || data == 11)) then # We ignore air, standing sign, magentawool and (dark) blue wool
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
y -= schematic["Length"] / 2 # Center the object on the Y axis
|
y -= schematic["Length"] / 2 # Center the object on the Y axis
|
||||||
|
|
Loading…
Add table
Reference in a new issue