mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add fmt formatting to SendAreaTriggerMessage (#206)
This commit is contained in:
@@ -3793,7 +3793,7 @@ namespace LuaPlayer
|
|||||||
{
|
{
|
||||||
std::string msg = Eluna::CHECKVAL<std::string>(L, 2);
|
std::string msg = Eluna::CHECKVAL<std::string>(L, 2);
|
||||||
if (msg.length() > 0)
|
if (msg.length() > 0)
|
||||||
player->GetSession()->SendAreaTriggerMessage("%s", msg.c_str());
|
player->GetSession()->SendAreaTriggerMessage("{}", msg.c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user