fixed chest storing
This commit is contained in:
parent
ac598e9d7b
commit
53ffa8fd19
@ -118,13 +118,13 @@ local function storeItems()
|
|||||||
if itemDetail ~= nil then
|
if itemDetail ~= nil then
|
||||||
if itemDetail.name ~= "minecraft:torch" and itemDetail.name ~= "minecraft:chest" then
|
if itemDetail.name ~= "minecraft:torch" and itemDetail.name ~= "minecraft:chest" then
|
||||||
turtle.dropUp()
|
turtle.dropUp()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
turtle.down()
|
turtle.down()
|
||||||
turtle.down()
|
turtle.down()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local function checkInventory()
|
local function checkInventory()
|
||||||
for i=1, 16 do
|
for i=1, 16 do
|
||||||
@ -257,7 +257,6 @@ local function mineFibo()
|
|||||||
state = getState()
|
state = getState()
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
|
|
||||||
mineChunk()
|
mineChunk()
|
||||||
|
|
||||||
--go to next chunk
|
--go to next chunk
|
||||||
|
Loading…
Reference in New Issue
Block a user