Core/Player: Equipping bags logic is not correct
Description
You should be able to replace a bag you have with another that have same or greater size as long as the new bag is not placed in any of the old one slot, even if old bag have items in it.
Proof: https://youtu.be/OMRPLqCbWzA?list=PLV2pwP80QXZKO7CPg_abdW7GFYxtBbsyn&t=5399 https://www.youtube.com/watch?v=v0BPUXwqpeg&t=4015s
Expected behaviour
You should be able to replace a bag you have with another that have same or greater size as long as the new bag is not placed in any of the old one slot, even if old bag have items in it.
Steps to reproduce the problem
.additem 4496 then equip it put a item let's say your hearthstone inside this bag .additem 4240 (make sure you have this bag in default inventory bag not in the previous (4496) bag try to replace 4240 with old 4496 bag, notice you can't
Branch
3.3.5
TC rev. hash/commit
91e91944f238b5f3984b55b0b5ecce8c30495630
Operating system
Windows 11
Custom changes
None
Source: TrinityCore/TrinityCore