This commit is contained in:
Julian Brammer 2024-06-02 03:24:13 +02:00
parent eb26ecc278
commit ac598e9d7b

View File

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