Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: 55Honey <[email protected]>
  • Loading branch information
Kitzunu and 55Honey authored Aug 9, 2024
1 parent b39869a commit 68d0a09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LuaEngine/PlayerMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#ifndef PLAYERMETHODS_H
#define PLAYERMETHODS_H

#include "Chat.h"
#include "GameTime.h"
#include "GossipDef.h"

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 68d0a09

Please sign in to comment.