mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix missing stuff
This commit is contained in:
@@ -235,7 +235,6 @@ namespace LuaGameObject
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds an [Item] to the loot of a [GameObject]
|
||||
*
|
||||
|
||||
@@ -56,9 +56,11 @@ namespace LuaObject
|
||||
*
|
||||
* @return bool IsPlayer
|
||||
*/
|
||||
int IsPlayer(lua_State* L, Player* player)
|
||||
int IsPlayer(lua_State* L, Object* obj)
|
||||
{
|
||||
Eluna::Push(L, player->IsPlayer());
|
||||
#ifdef AZEROTHCORE //AC-only
|
||||
Eluna::Push(L, obj->IsPlayer());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user