Revert "Migrate calls from Players.Length to ActivePlayers"

This reverts commit 521283c36b.
This commit is contained in:
Lucas Nicodemus 2017-12-31 01:24:54 -07:00
parent 521283c36b
commit 43ddb73112
4 changed files with 6 additions and 6 deletions

View file

@ -144,7 +144,7 @@ namespace TShockAPI
return new JsonData()
{
port = Terraria.Netplay.ListenPort,
currentPlayers = TSPlayer.ActivePlayers.Count,
currentPlayers = TShock.Players.Length,
maxPlayers = TShock.Config.MaxSlots,
systemRam = GetTotalSystemRam(ServerApi.RunningMono),
version = TShock.VersionNum.ToString(),