Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Fix removing items from stash on apply imbuement (#401)
Browse files Browse the repository at this point in the history
Complement of the pr: #373
  • Loading branch information
dudantas committed Jan 26, 2022
1 parent 0cb8387 commit bc92e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ void Player::onApplyImbuement(Imbuement *imbuement, Item *item, uint8_t slot, bo
const ItemType& itemType = Item::items[key];

withdrawItemMessage << "Using " << mathItemCount << "x "<< itemType.name <<" from your supply stash. ";
withdrawItem(key, mathItemCount);
withdrawItem(itemType.clientId, mathItemCount);
}

sendTextMessage(MESSAGE_STATUS, withdrawItemMessage.str());
Expand Down

0 comments on commit bc92e3c

Please sign in to comment.