1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-25 16:10:26 +00:00

build using command computer

This commit is contained in:
kepler155c@gmail.com 2017-08-11 17:54:03 -04:00
parent 0800609a1a
commit 3a5da45877

View File

@ -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