diff --git a/src/LuaEngine/PlayerMethods.h b/src/LuaEngine/PlayerMethods.h index 0960182626..4c8b644d77 100644 --- a/src/LuaEngine/PlayerMethods.h +++ b/src/LuaEngine/PlayerMethods.h @@ -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(L, 2); if (msg.length() > 0) - player->GetSession()->SendNotification("%s", msg.c_str()); + ChatHandler(player->GetSession()).SendNotification("{}", msg); return 0; }