-
Notifications
You must be signed in to change notification settings - Fork 577
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
Get rid of recursive call in default.dig_up #3133
Get rid of recursive call in default.dig_up #3133
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works. Tested with print
in minetest.dig_up
while digging papyrus. Height limit works too.
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: sfan5 <sfan5@live.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: sfan5 <sfan5@live.de>
Fixes #3075
This PR fixes the recursive calling of
default.dig_up
and adds a parameter for a maximum number of nodes searched.This PR is ready for review.