We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
You might want to check out https://github.com/SquidDev-CC/CC-Tweaked as Dan has seemingly abandoned this project.
Sorry, something went wrong.
Ok thanks for the info. That’s a real pity.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: