re-try dropping

for example if the target is full
This commit is contained in:
Navid Sassan 2023-11-23 02:00:20 +01:00
parent cf622fc889
commit b7a72e5f77

View File

@ -43,7 +43,9 @@ local function despositRefill()
for i = 1, 16 do for i = 1, 16 do
turtle.select(i) turtle.select(i)
if compareItemName("minecraft:lava_bucket") then if compareItemName("minecraft:lava_bucket") then
turtle.dropDown() while not turtle.dropDown() do
os.sleep(1)
end
end end
if compareItemName("minecraft:bucket") then if compareItemName("minecraft:bucket") then
turtle.dropUp() turtle.dropUp()