Develop 1.8 #25

Closed
rangerdude wants to merge 2 commits from develop-1.8 into develop-1.8

View File

@@ -35,7 +35,12 @@ local fortuneBlocks = {
local MIN_FUEL = 7500
local LOW_FUEL = 1500
local MAX_FUEL = turtle.getFuelLimit()
if turtle.getFuelLimit() == 'unlimited' then
MAX_FUEL = 100000
else
MAX_FUEL = turtle.getFuelLimit()
end
local PROGRESS_FILE = 'usr/config/mining.progress'
local TRASH_FILE = 'usr/config/mining.trash'
@@ -380,7 +385,6 @@ local function mineable(action)
if block.name == 'minecraft:chest' then
collectDrops(action.suck)
end
if turtle.getFuelLevel() < (MAX_FUEL - 1000) then
if block.name == 'minecraft:lava' or block.name == 'minecraft:flowing_lava' then
if turtle.select('minecraft:bucket:0') then