Refill Upgrade deletes items when backpack is "full"
coolepicgaymer opened this issue ยท 2 comments
Describe the bug
When all slots in the backpack are occupied and you have at least two slots in the backpack with the middle-clicked item, the item in your hand disappears completely if the first instance of the middle-clicked item in the backpack has more than a stack and there is at least one other instance of the item in the backpack containing less than a stack.
To Reproduce
Steps to reproduce the behavior:
- Get a backpack with a refill upgrade and a stack upgrade.
- Occupy all backpack slots with items.
- In at least two of the backpack slots, put a middle-clickable block (e.g. Grass Blocks). The first of these must be more than a stack. The second slot must be less than or equal to a stack. Example below.
- Middle-click the item from step 3 while holding an item not already in the backpack.
Expected behavior
Item should either not refill or move the held item to player inventory.
Screenshots
Example of backpack:
Base.Profile.2023.10.21.-.11.36.12.03_Trim.mp4
Versions
Forge 40.2.9
Sophisticated Core 1.18.2-0.5.98.458
Sophisticated Backpacks 1.18.2-3.18.65.933