Add fmt formatting to SendAreaTriggerMessage (#206)

This commit is contained in:
Yggdrasil WoW
2024-12-31 10:54:36 +01:00
committed by GitHub
parent c38f0a1d2f
commit 2add5609f6

View File

@@ -3793,7 +3793,7 @@ namespace LuaPlayer
{
std::string msg = Eluna::CHECKVAL<std::string>(L, 2);
if (msg.length() > 0)
player->GetSession()->SendAreaTriggerMessage("%s", msg.c_str());
player->GetSession()->SendAreaTriggerMessage("{}", msg.c_str());
return 0;
}