Fix for TC

This commit is contained in:
xIvan0ff
2021-05-20 12:51:03 +03:00
parent 74afaebb49
commit 564b6b8b17

View File

@@ -23,7 +23,11 @@ namespace LuaCreature
{
bool enable = Eluna::CHECKVAL<bool>(L, 2, true);
#if defined(AZEROTHCORE)
creature->SetRegeneratingHealth(enable);
#else
creature->SetRegenerateHealth(enable);
#endif
return 0;
}