diff --git a/CreatureMethods.h b/CreatureMethods.h index 00f04bc..0774e0a 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -240,15 +240,13 @@ namespace LuaCreature * * @return bool isDungeonBoss */ +#if defined(TRINITY) || defined(AZEROTHCORE) int IsDungeonBoss(lua_State* L, Creature* creature) { -#if defined(TRINITY) || defined(AZEROTHCORE) Eluna::Push(L, creature->IsDungeonBoss()); -#else - Eluna::Push(L, creature->IsWorldBoss()); -#endif return 1; } +#endif /** * Returns `true` if the [Creature]'s rank is Boss,