diff --git a/CreatureMethods.h b/CreatureMethods.h index 2158f44..d8c8b50 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -70,7 +70,11 @@ namespace LuaCreature { Player* player = Eluna::CHECKOBJ(L, 2); +#ifdef MANGOS + Eluna::Push(L, creature->IsTappedBy(player)); +#else Eluna::Push(L, creature->isTappedBy(player)); +#endif return 1; }