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 ItemStackLike#maxStackQuantity #2581

Open
wants to merge 1 commit into
base: api-12
Choose a base branch
from

Conversation

MrHell228
Copy link
Contributor

@MrHell228 MrHell228 commented Feb 22, 2025

SpongeAPI | Sponge

Apparently when adding ItemStackLike I didn't notice that Keys.MAX_STACK_SIZE is not available for some stacks so exception is thrown when you call maxStackQuantity() on damageable items

@MrHell228 MrHell228 force-pushed the api-12-itemstack-fix branch from a63684c to 3e2dc4f Compare February 22, 2025 23:17
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.

1 participant