caioavidal/OpenCoreMMO

Inventory Bug: Quantity of Assassin Stars Incorrectly Reduced to One When Swapping with Ground Spears

caioavidal opened this issue · 0 comments

Describe the bug
There is an issue where the quantity of assassin stars in the player’s inventory is incorrectly reduced to one when attempting to swap them with a spear on the ground.

To Reproduce
Steps to reproduce the behavior:

  1. Place a spear on the ground.
  2. Equip 100 assassin stars in the left hand slot.
  3. Attempt to swap the spear with the assassin stars in the left hand.
  4. Notice that the assassin stars are transferred to the ground, but their quantity is erroneously reduced to 1.

Expected behavior
The number of assassin stars should remain unchanged during the swap. If 100 stars are initially in the left hand, after the swap, 100 stars should be on the ground.