diff --git a/LuaFunctions.cpp b/LuaFunctions.cpp index 28cb331..04ffa87 100644 --- a/LuaFunctions.cpp +++ b/LuaFunctions.cpp @@ -809,7 +809,9 @@ ElunaRegister CreatureMethods[] = { "SetEquipmentSlots", &LuaCreature::SetEquipmentSlots }, // Boolean - { "IsDungeonBoss", &LuaCreature::IsWorldBoss }, +#if defined(TRINITY) || defined(AZEROTHCORE) + { "IsDungeonBoss", &LuaCreature::IsDungeonBoss }, +#endif { "IsWorldBoss", &LuaCreature::IsWorldBoss }, { "IsRacialLeader", &LuaCreature::IsRacialLeader }, { "IsCivilian", &LuaCreature::IsCivilian },