diff --git a/s2b.rb b/s2b.rb index c7d2619..7cad1e7 100755 --- a/s2b.rb +++ b/s2b.rb @@ -119,7 +119,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 || 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 end y -= schematic["Length"] / 2 # Center the object on the Y axis