asd
This commit is contained in:
parent
eb26ecc278
commit
ac598e9d7b
@ -78,7 +78,16 @@ end
|
||||
|
||||
local function storeItems()
|
||||
--refuel all
|
||||
shell.run("refuel all")
|
||||
-- shell.run("refuel all") doesnt work because nomnom chests
|
||||
for i=1, 16 do
|
||||
turtle.select(i)
|
||||
itemDetail = turtle.getItemDetail()
|
||||
if itemDetail ~= nil then
|
||||
if itemDetail.name == "minecraft:coal" then
|
||||
turtle.refuel()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--check inv for chest and place it
|
||||
chestAvailable = false
|
||||
|
Loading…
Reference in New Issue
Block a user