diff --git a/src/random_enchants.cpp b/src/random_enchants.cpp index cd38fa0..2afb1c1 100644 --- a/src/random_enchants.cpp +++ b/src/random_enchants.cpp @@ -56,11 +56,11 @@ void rollPossibleEnchant(Player* player, Item* item) if (slotRand[2] != -1) - chathandle.PSendSysMessage("Newly Acquired |cffFF0000 %s |rhas received|cffFF0000 3 |rrandom enchantments!", name); + chathandle.PSendSysMessage("Newly Acquired |cffFF0000 {} |rhas received|cffFF0000 3 |rrandom enchantments!", name); else if (slotRand[1] != -1) - chathandle.PSendSysMessage("Newly Acquired |cffFF0000 %s |rhas received|cffFF0000 2 |rrandom enchantments!", name); + chathandle.PSendSysMessage("Newly Acquired |cffFF0000 {} |rhas received|cffFF0000 2 |rrandom enchantments!", name); else if (slotRand[0] != -1) - chathandle.PSendSysMessage("Newly Acquired |cffFF0000 %s |rhas received|cffFF0000 1 |rrandom enchantment!", name); + chathandle.PSendSysMessage("Newly Acquired |cffFF0000 {} |rhas received|cffFF0000 1 |rrandom enchantment!", name); } uint32 getRandEnchantment(Item* item)