turtle.drop() always returns false
Hi there, I wanted the turtle to use a chest to deposit items if the ender chest is full. So I added to my code:
if (turtle.drop() == false) then useChest() end
The only problem is that turtle.drop() seems to always return false. I actually testeted it on another turtle with the code:
turtle.drop()
if (turtle.drop() == true) then print("success") elseif (turtle.drop() == false) then print("failure") end
It always prints "failure" no matter if the inventory is actually full or if it's completly empty. I think that's a bug.
Additional Information:
Forge Version: 1.12.2-forge-14.23.5.2854 ComputerCraft Version: ComputerCraft1.80pr1
You might want to check out https://github.com/SquidDev-CC/CC-Tweaked as Dan has seemingly abandoned this project.
Ok thanks for the info. That’s a real pity.