Revert "Migrate calls from Players.Length to ActivePlayers"
This reverts commit 521283c36b.
This commit is contained in:
parent
521283c36b
commit
43ddb73112
4 changed files with 6 additions and 6 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue