fix missing stuff

This commit is contained in:
55Honey
2022-06-04 20:11:06 +02:00
parent af59e0dc90
commit c616143557
2 changed files with 9 additions and 8 deletions

View File

@@ -235,7 +235,6 @@ namespace LuaGameObject
return 0;
}
/**
* Adds an [Item] to the loot of a [GameObject]
*

View File

@@ -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;
}