diff --git a/methods/TrinityCore/PlayerMethods.h b/methods/TrinityCore/PlayerMethods.h index 2f4c793fb6..73404335f4 100644 --- a/methods/TrinityCore/PlayerMethods.h +++ b/methods/TrinityCore/PlayerMethods.h @@ -468,6 +468,12 @@ namespace LuaPlayer return 1; } + /** + * Returns whether or not the [Player]s [Group] is visible for the other specific [Player]. + * + * @param [Player] player + * @return bool isGroupVisible + */ int IsGroupVisibleFor(Eluna* E, Player* player) { Player* target = E->CHECKOBJ(2);