fix(mystical-upgrader): assertEnoughFuel

This commit is contained in:
Guillaume ARM 2024-05-25 22:13:06 +02:00
parent 3df6cfa706
commit 744cf941ad

View File

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