fix(LuaFunctions.cpp): Added Trinity/Azerothcore guards to SetReactState()

Signed-off-by: Tikki <oliver.m.m@hotmail.com>
This commit is contained in:
Tikki
2021-05-28 15:23:23 +02:00
parent 6f1e553c83
commit 2fde577aaf

View File

@@ -807,7 +807,9 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "SetLootMode", &LuaCreature::SetLootMode },
#endif
{ "SetNPCFlags", &LuaCreature::SetNPCFlags },
#if defined(TRINITY) || AZEROTHCORE
{ "SetReactState", &LuaCreature::SetReactState },
#endif
{ "SetDeathState", &LuaCreature::SetDeathState },
{ "SetWalk", &LuaCreature::SetWalk },
{ "SetHomePosition", &LuaCreature::SetHomePosition },