From 3a5da4587792d4aec96868d2509639257bd10668 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Fri, 11 Aug 2017 17:54:03 -0400 Subject: [PATCH] build using command computer --- sys/apps/builder.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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