Steps to reproduce:
- Fill the inventory completely so there are no empty slots.
- Have a single item (stack size = 1) in the inventory.
- Press Shift + Right-click on that item.
Expected result:
Since the item is alone in its slot, nothing should happen, or the game should attempt to split the stack but fail due to the inventory being full.
Actual result:
The item duplicates — instead of splitting, a second copy of the item appears, effectively creating a stack of 2.
Additional notes:
This seems to happen only when the inventory is fully occupied and the item stack size is exactly 1.