Skip to content

Commit

Permalink
Update PlayerHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright authored Oct 27, 2024
1 parent b7575ff commit 9ccf53f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Archipelago.MultiClient.Net/Helpers/PlayerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,9 @@ public IEnumerable<PlayerInfo> GetGroupMembers(IPlayerHelper playerHelper)
}

/// <summary>
/// If this player is a group, returns true.
/// Is true if the player is a group.
/// </summary>
/// <returns>Returns whether the player is a group</returns>
public bool IsGroup()
{
return GroupMembers != null && GroupMembers.Length > 0;
}
public bool IsGroup => GroupMembers != null && GroupMembers.Length > 0;

/// <summary>
/// True if this player is the same player, or if either player is a group (e.g. itemlinks) that contains the other player
Expand Down

0 comments on commit 9ccf53f

Please sign in to comment.