Add some new block ignores.

This commit is contained in:
Olof Larsson 2015-01-12 08:44:52 +01:00
parent eea7410bca
commit 0ec5c193b8
2 changed files with 1 additions and 1 deletions

0
readme.md Normal file → Executable file
View file

2
s2b.rb Normal file → Executable file
View 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