Skip to content

Commit

Permalink
fix: don't send inbox store item to market (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
MUN1Z authored Nov 21, 2023
1 parent 6fde259 commit 71bdb2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6722,6 +6722,10 @@ std::pair<std::vector<std::shared_ptr<Item>>, std::map<uint16_t, std::map<uint8_
continue;
}

if (item->isStoreItem()) {
continue;
}

const ItemType &itemType = Item::items[item->getID()];
if (itemType.wareId == 0) {
continue;
Expand Down

0 comments on commit 71bdb2f

Please sign in to comment.