1
0

Support byproduct to update quests for craft updates

This commit is contained in:
Emagi 2025-03-13 06:35:55 -04:00
parent 55dd33e947
commit 2c49d9c76e

View File

@ -495,6 +495,7 @@ void TradeskillMgr::StopCrafting(Client* client, bool lock) {
byproductItem->details.count = byproduct_qty;
client->Message(CHANNEL_COLOR_CHAT_RELATIONSHIP, "You received %s as a byproduct.", byproductItem->CreateItemLink(client->GetVersion()).c_str());
client->AddItem(byproductItem);
client->GetPlayer()->CheckQuestsCraftUpdate(byproductItem, byproduct_qty);
}
//Check for crafting quest updates
int8 update_amt = 0;