mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(Config): replace deprecated functions for AzerothCore (#7)
This commit is contained in:
@@ -65,6 +65,8 @@ namespace LuaGlobalFunctions
|
||||
{
|
||||
#ifdef MANGOS
|
||||
Eluna::Push(L, realmID);
|
||||
#elif defined(AZEROTHCORE)
|
||||
Eluna::Push(L, sConfigMgr->GetOption<uint32>("RealmID", 1));
|
||||
#else
|
||||
Eluna::Push(L, sConfigMgr->GetIntDefault("RealmID", 1));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user