Skip to content
New issue

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

turtle.drop() always returns false #604

Open
thedead2 opened this issue Jun 23, 2020 · 2 comments
Open

turtle.drop() always returns false #604

thedead2 opened this issue Jun 23, 2020 · 2 comments

Comments

@thedead2
Copy link

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

@Lupus590
Copy link
Contributor

You might want to check out https://github.com/SquidDev-CC/CC-Tweaked as Dan has seemingly abandoned this project.

@thedead2
Copy link
Author

Ok thanks for the info. That’s a real pity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants