diff --git a/sys/apps/builder.lua b/sys/apps/builder.lua index 3374df2..31f086c 100644 --- a/sys/apps/builder.lua +++ b/sys/apps/builder.lua @@ -367,7 +367,7 @@ function Builder:substituteBlocks(throttle) for _,b in pairs(schematic.blocks) do -- replace schematic block type with substitution - local pb = blocks:getRealBlock(b.id, b.dmg) + local pb = blocks:getPlaceableBlock(b.id, b.dmg) b.id = pb.id b.dmg = pb.dmg @@ -1159,8 +1159,6 @@ function Builder:build() local minFuel = schematic.height + schematic.width + schematic.length + 100 local throttle = Util.throttle() - --commands.execAsync("fill " .. (x1 - 4) .. " " .. y .. " " .. (z1 - 4) .. " " .. (x1 + 131) .. " " .. y .. " " .. (z1 + 131) .. " minecraft:air") - if self.mode == 'destroy' then direction = -1 last = 1