mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update UnitMethods.h
This commit is contained in:
@@ -649,7 +649,11 @@ namespace LuaUnit
|
||||
|
||||
int GetPowerType(lua_State* L, Unit* unit)
|
||||
{
|
||||
#if (defined(MANGOS) && defined(WOTLK))
|
||||
sEluna->Push(L, unit->GetPowerType());
|
||||
#else
|
||||
sEluna->Push(L, unit->getPowerType());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user