diff --git a/src/main/programs/turtle-miner-fibo.lua b/src/main/programs/turtle-miner-fibo.lua index 7d00d33..5a56e7b 100644 --- a/src/main/programs/turtle-miner-fibo.lua +++ b/src/main/programs/turtle-miner-fibo.lua @@ -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