Removed ${playersMax} from the network page because the max_players config setting is not made available via ProxyConfig. #362

This commit is contained in:
Rsl1122 2017-10-24 12:16:57 +03:00
parent 394314a888
commit ab3048b515
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ public class NetworkPageParser extends PageParser {
addValue("playersOnlineSeries", PlayerActivityGraphCreator.buildSeriesDataString(networkOnlineData));
addValue("playersGraphColor", Colors.PLAYERS_ONLINE.getColor());
addValue("playersOnline", plugin.getProxy().getOnlineCount());
addValue("playersMax", plugin.getProxy().getConfig().getPlayerLimit());
addValue("playersTotal", db.getUsersTable().getPlayerCount());

View File

@ -41,7 +41,7 @@
<h2><i class="fa fa-info-circle"></i> Information</h2>
</div>
<div class="box" style="height: 75%;">
<p>${playersOnline}/${playersMax} Players Online</p>
<p>${playersOnline} Players Online</p>
<p>${playersTotal} Total Players</p>
<p>${playersNewDay} New Players Today<br>${playersNewWeek} New Players This Week</p>
</div>