Fix more broken calls.
This commit is contained in:
parent
c79d2213e8
commit
597322217d
4 changed files with 34 additions and 34 deletions
|
|
@ -314,7 +314,7 @@ namespace TShockAPI
|
|||
return new RestObject()
|
||||
{
|
||||
{"name", TShock.Config.ServerName},
|
||||
{"port", Convert.ToString(Netplay.serverPort)},
|
||||
{"port", Convert.ToString(Netplay.ListenPort)},
|
||||
{"playercount", Convert.ToString(activeplayers.Count())},
|
||||
{"players", string.Join(", ", activeplayers.Select(p => p.name))},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue