Skip to content

Conversation

@unascribed
Copy link
Contributor

@unascribed unascribed commented Dec 17, 2025

In the case of adding items to an existing stack of items in an inventory with a lower limit than the items that it contains, Spectrum would overstack the items by only honoring the item's own stack limit. This was properly checked for the path that filled empty slots.

Minor API/ABI-compatible refactor to InventoryHelper to pass around max slot count context where necessary and obtain it where it was not available before.

Tested with Yttr's Scalable Storage Drum. This likely needs porting to the 1.21 branch.

~ Una

@DaFuqs DaFuqs merged commit 230ff46 into DaFuqs:1.20.1-aria-for-painters Dec 18, 2025
2 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