Ignore private servers

This commit is contained in:
Shaun Bennett 2014-12-23 04:21:37 -06:00
parent 21d255fcd1
commit d8311d860e
1 changed files with 3 additions and 0 deletions

View File

@ -220,6 +220,9 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
int slot = 18;
for (ServerInfo serverInfo : serverList)
{
if (serverInfo.MOTD.contains("Private"))
return;
boolean staffServer = serverInfo.MOTD.contains("StaffHosted");
if (staffServer)