need to select the slot before it can be checked
This commit is contained in:
parent
8536ded85c
commit
e390dd09be
@ -29,6 +29,7 @@ end
|
|||||||
|
|
||||||
local function findFirstLavaBucket()
|
local function findFirstLavaBucket()
|
||||||
for i=1,16 do
|
for i=1,16 do
|
||||||
|
turtle.select(i)
|
||||||
if isLavaBucket() then
|
if isLavaBucket() then
|
||||||
print('Slot' .. i .. 'is an lava bucket')
|
print('Slot' .. i .. 'is an lava bucket')
|
||||||
return i
|
return i
|
||||||
|
Loading…
x
Reference in New Issue
Block a user