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

fix: adding to empty slot and max_stack_size #535

Merged

Conversation

CuzImClicks
Copy link
Contributor

Fixes try_add_to_slot creating stacks above the maximum stack size when adding to an empty slot

@CuzImClicks
Copy link
Contributor Author

also while working on the give command i noticed that the try_add_item method doesn't work correctly because it also fills the 2x2 crafting and armor slots. is there a reason why try_add_to_slot is private btw?

@andrewgazelka
Copy link
Owner

is there a reason why try_add_to_slot is private btw?

not really

@andrewgazelka andrewgazelka merged commit 7b5c170 into andrewgazelka:main Oct 30, 2024
9 checks passed
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.

2 participants