improve refilling logic

This commit is contained in:
Navid Sassan 2023-11-23 01:46:00 +01:00
parent 655fa0f914
commit cf622fc889

View File

@ -42,8 +42,13 @@ end
local function despositRefill()
for i = 1, 16 do
turtle.select(i)
if compareItemName("minecraft:lava_bucket") then
turtle.dropDown()
end
if compareItemName("minecraft:bucket") then
turtle.dropUp()
end
end
turtle.suckUp(16)
end