mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Merge pull request #578 Fix Selling "random" item
Address issue with selling/moving items grabbing a "random" item
This commit is contained in:
commit
7af248feeb
@ -353,8 +353,6 @@ void InventoryComponent::MoveItemToInventory(Item* item, const eInventoryType in
|
||||
|
||||
while (left > 0)
|
||||
{
|
||||
item = origin->FindItemByLot(lot, ignoreEquipped);
|
||||
|
||||
if (item == nullptr)
|
||||
{
|
||||
item = origin->FindItemByLot(lot, false);
|
||||
|
Loading…
Reference in New Issue
Block a user