mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix: fix build after renaming GetGOData() to GetGameObjectData()
Reduce differences between projects
This commit is contained in:
@@ -1861,11 +1861,8 @@ namespace LuaGlobalFunctions
|
||||
Eluna::Push(L);
|
||||
return 1;
|
||||
}
|
||||
#ifndef AZEROTHCORE
|
||||
|
||||
eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGameObjectData(guidLow));
|
||||
#else
|
||||
eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGOData(guidLow));
|
||||
#endif
|
||||
}
|
||||
else
|
||||
map->AddToMap(object);
|
||||
|
||||
Reference in New Issue
Block a user