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