Skip to content

Commit

Permalink
Update LuaEngine.cpp (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu authored Aug 10, 2024
1 parent 68d0a09 commit ec0dbf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LuaEngine/LuaEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "Hooks.h"
#include "LuaEngine.h"
#include "BindingMap.h"
#include "Chat.h"
#include "ElunaEventMgr.h"
#include "ElunaIncludes.h"
#include "ElunaTemplate.h"
Expand Down Expand Up @@ -136,7 +137,7 @@ void Eluna::_ReloadEluna()
if (eConfigMgr->GetOption<bool>("Eluna.PlayerAnnounceReload", false))
eWorld->SendServerMessage(SERVER_MSG_STRING, "Reloading Eluna...");
else
eWorld->SendGMText(SERVER_MSG_STRING, "Reloading Eluna...");
ChatHandler(nullptr).SendGMText(SERVER_MSG_STRING, "Reloading Eluna...");

// Remove all timed events
sEluna->eventMgr->SetStates(LUAEVENT_STATE_ERASE);
Expand Down

1 comment on commit ec0dbf7

@Parkan1986
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modules\mod-eluna\src\LuaEngine\PlayerMethods.h(3807,47): error C2039: "SendNotification": не является членом "ChatHandler". (компилируется исходный файл E:\games\AzerothCore-wotlk-with-NPCBots\modules\mod-eluna\src\LuaEngine\LuaFunctions.cpp)

Please sign in to comment.