From 7b24c69f933e7c9e002d6295697b3fd97c28e111 Mon Sep 17 00:00:00 2001 From: BuildingOutLoud Date: Fri, 16 Apr 2021 10:28:11 -0600 Subject: [PATCH] Only allow IsDungeonBoss for TC/AC --- CreatureMethods.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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,