mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#ifndef PLAYERMETHODS_H
|
#ifndef PLAYERMETHODS_H
|
||||||
#define PLAYERMETHODS_H
|
#define PLAYERMETHODS_H
|
||||||
|
|
||||||
|
#include "Chat.h"
|
||||||
#include "GameTime.h"
|
#include "GameTime.h"
|
||||||
#include "GossipDef.h"
|
#include "GossipDef.h"
|
||||||
|
|
||||||
@@ -3803,7 +3804,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()->SendNotification("%s", msg.c_str());
|
ChatHandler(player->GetSession()).SendNotification("{}", msg);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user