Fix LuaFunctions.cpp

Co-authored-by: Rochet2 <rochet2@post.com>
This commit is contained in:
BuildingOutLoud
2021-04-16 12:57:55 -06:00
committed by GitHub
parent 7b24c69f93
commit dd0217f5c9

View File

@@ -809,7 +809,9 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "SetEquipmentSlots", &LuaCreature::SetEquipmentSlots }, { "SetEquipmentSlots", &LuaCreature::SetEquipmentSlots },
// Boolean // Boolean
{ "IsDungeonBoss", &LuaCreature::IsWorldBoss }, #if defined(TRINITY) || defined(AZEROTHCORE)
{ "IsDungeonBoss", &LuaCreature::IsDungeonBoss },
#endif
{ "IsWorldBoss", &LuaCreature::IsWorldBoss }, { "IsWorldBoss", &LuaCreature::IsWorldBoss },
{ "IsRacialLeader", &LuaCreature::IsRacialLeader }, { "IsRacialLeader", &LuaCreature::IsRacialLeader },
{ "IsCivilian", &LuaCreature::IsCivilian }, { "IsCivilian", &LuaCreature::IsCivilian },