mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
feat(Core/Modules): add separated lib for modules (#9281)
This commit is contained in:
@@ -48,10 +48,6 @@
|
||||
#include <random>
|
||||
#include <unordered_map>
|
||||
|
||||
#ifdef ELUNA
|
||||
#include "LuaEngine.h"
|
||||
#endif
|
||||
|
||||
/*********************************************************/
|
||||
/*** BATTLEGROUND MANAGER ***/
|
||||
/*********************************************************/
|
||||
@@ -994,9 +990,8 @@ void BattlegroundMgr::AddBattleground(Battleground* bg)
|
||||
m_BattlegroundTemplates[bg->GetBgTypeID()] = bg;
|
||||
else
|
||||
m_Battlegrounds[bg->GetInstanceID()] = bg;
|
||||
#ifdef ELUNA
|
||||
sEluna->OnBGCreate(bg, bg->GetBgTypeID(), bg->GetInstanceID());
|
||||
#endif
|
||||
|
||||
sScriptMgr->OnBattlegroundCreate(bg);
|
||||
}
|
||||
|
||||
void BattlegroundMgr::RemoveBattleground(BattlegroundTypeId bgTypeId, uint32 instanceId)
|
||||
|
||||
Reference in New Issue
Block a user