fix(mystical-upgrader): assertEnoughFuel
This commit is contained in:
parent
3df6cfa706
commit
744cf941ad
@ -42,7 +42,7 @@ local assertEnoughFillBlocks = function()
|
||||
end
|
||||
|
||||
local assertEnoughFuel = function()
|
||||
local minFuel = 10 + (MAX_LEVEL * 2)
|
||||
local minFuel = 10 + NB_ROWS + (MAX_LEVEL * 2 * NB_ROWS)
|
||||
|
||||
if turtle.getFuelLevel() < minFuel then
|
||||
error('Not enough fuel')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user