Select chest slot
This commit is contained in:
parent
b10bc73833
commit
65f6555f44
@ -67,7 +67,7 @@ local function handleFullInv(minEmpty)
|
||||
|
||||
-- Try: place, check block above is empty or dig it, place
|
||||
-- If all fails, print error, wait and repeat
|
||||
if not (turtle.placeUp() or ((not turtle.inspectUp() or turtle.digUp()) and turtle.placeUp())) then
|
||||
if not (turtle.select(CHEST_SLOT) and (turtle.placeUp() or ((not turtle.inspectUp() or turtle.digUp()) and turtle.placeUp()))) then
|
||||
Logger:error("Can't place chest :(")
|
||||
os.sleep(5)
|
||||
goto continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user