Rename Utils.ActivePlayers to something better.
Issues related to ICollections being null led to reverting migrating this to TSPlayer until a better solution is uncovered.
This commit is contained in:
parent
a5cad284a8
commit
df4da817b6
5 changed files with 11 additions and 11 deletions
|
|
@ -144,7 +144,7 @@ namespace TShockAPI
|
|||
return new JsonData()
|
||||
{
|
||||
port = Terraria.Netplay.ListenPort,
|
||||
currentPlayers = TShock.Utils.ActivePlayers(),
|
||||
currentPlayers = TShock.Utils.GetActivePlayerCount(),
|
||||
maxPlayers = TShock.Config.MaxSlots,
|
||||
systemRam = GetTotalSystemRam(ServerApi.RunningMono),
|
||||
version = TShock.VersionNum.ToString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue