Revert "Add TSPlayer.ActivePlayers"

This reverts commit 17cfdc3a16.
This commit is contained in:
Lucas Nicodemus 2017-12-31 01:25:05 -07:00
parent 43ddb73112
commit cb2ed84038
2 changed files with 1 additions and 13 deletions

View file

@ -74,18 +74,6 @@ namespace TShockAPI
/// </summary>
public static readonly TSPlayer All = new TSPlayer("All");
/// <summary>
/// Gets the number of active players on the server.
/// </summary>
/// <returns>The number of active players on the server.</returns>
public static ICollection<TSPlayer> ActivePlayers
{
get
{
return TShock.Players.Where(p => null != p && p.TPlayer.active) as ICollection<TSPlayer>;
}
}
/// <summary>
/// Finds a TSPlayer based on name or ID
/// </summary>