Skip to content

Commit

Permalink
Fix to the fix of added appearance message (#156)
Browse files Browse the repository at this point in the history
This fixes a previous committed fix relating to the added appearance message.
  • Loading branch information
woahscam authored Aug 5, 2024
1 parent 368d7aa commit 5146f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transmog_scripts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ class PS_Transmogrification : public PlayerScript
if (sT->AddCollectedAppearance(accountId, itemId))
{
if (showChatMessage)
ChatHandler(player->GetSession()).PSendSysMessage( R"(|c{}|Hitem:{}:0:0:0:0:0:0:0:0|h[%s]|h|r {})", itemQuality.c_str(), itemId, itemName.c_str(), GetLocaleText(locale, "added_appearance"));
ChatHandler(player->GetSession()).PSendSysMessage( R"(|c{}|Hitem:{}:0:0:0:0:0:0:0:0|h[{}]|h|r {})", itemQuality, itemId, itemName, GetLocaleText(locale, "added_appearance"));

CharacterDatabase.Execute( "INSERT INTO custom_unlocked_appearances (account_id, item_template_id) VALUES ({}, {})", accountId, itemId);
}
Expand Down

0 comments on commit 5146f19

Please sign in to comment.