need to select the slot before it can be checked

This commit is contained in:
Navid Sassan 2023-11-23 00:41:34 +01:00
parent 8536ded85c
commit e390dd09be

View File

@ -29,6 +29,7 @@ end
local function findFirstLavaBucket()
for i=1,16 do
turtle.select(i)
if isLavaBucket() then
print('Slot' .. i .. 'is an lava bucket')
return i