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

appears to fix wrong stacking #53

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Conversation

jessicara
Copy link
Contributor

Apparently the metadata was not updated with the size of a stack for an inserted item, so the percentages were wrong and the number of dropped items on change wrong for items where the maximum stack number is not 99.

In my own testing after this, it appears to not drop an obscene amount of stacks and the percentage full looks right.

Related: #52

Copy link
Contributor

@OgelGames OgelGames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes it perfectly 👍 I can't believe it was so simple 😲

Copy link
Collaborator

@lnjX lnjX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Yes, the change makes sense. :)

@lnjX lnjX merged commit c490b1f into minetest-mods:master Sep 23, 2020
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

Successfully merging this pull request may close these issues.

3 participants