Kitzunu
2024-08-09 02:36:23 +02:00
committed by GitHub
parent b39869a556
commit 68d0a09143

View File

@@ -7,6 +7,7 @@
#ifndef PLAYERMETHODS_H
#define PLAYERMETHODS_H
#include "Chat.h"
#include "GameTime.h"
#include "GossipDef.h"
@@ -3803,7 +3804,7 @@ namespace LuaPlayer
{
std::string msg = Eluna::CHECKVAL<std::string>(L, 2);
if (msg.length() > 0)
player->GetSession()->SendNotification("%s", msg.c_str());
ChatHandler(player->GetSession()).SendNotification("{}", msg);
return 0;
}