From 5146f19c5923749cc12f70ec3e5af62b1721ceed Mon Sep 17 00:00:00 2001 From: woahscam Date: Mon, 5 Aug 2024 15:02:08 -0400 Subject: [PATCH] Fix to the fix of added appearance message (#156) This fixes a previous committed fix relating to the added appearance message. --- src/transmog_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index 91699fc6..76929c5a 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -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); }