mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix linux script loading - Still require adding a config setting to set a path to allow you to use a fixed path with restarters and shortcuts
This commit is contained in:
@@ -2032,7 +2032,7 @@ namespace LuaPlayer
|
||||
{
|
||||
std::string msg = sEluna->CHECKVAL<std::string>(L, 2);
|
||||
if (msg.length() > 0)
|
||||
player->GetSession()->SendAreaTriggerMessage(msg.c_str());
|
||||
player->GetSession()->SendAreaTriggerMessage("%s", msg.c_str());
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -2040,7 +2040,7 @@ namespace LuaPlayer
|
||||
{
|
||||
std::string msg = sEluna->CHECKVAL<std::string>(L, 2);
|
||||
if (msg.length() > 0)
|
||||
player->GetSession()->SendNotification(msg.c_str());
|
||||
player->GetSession()->SendNotification("%s", msg.c_str());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user