Phinary needs some sleep!

This commit is contained in:
Shaun Bennett 2014-12-23 08:07:46 -06:00
parent 9c1e3aa7aa
commit cff63ca3e3

View File

@ -221,10 +221,10 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
for (ServerInfo serverInfo : serverList) for (ServerInfo serverInfo : serverList)
{ {
if (serverInfo.MOTD.contains("Private")) if (serverInfo.MOTD.contains("Private"))
return; continue;
if (serverInfo.MaxPlayers - serverInfo.CurrentPlayers <= 0) if (serverInfo.MaxPlayers - serverInfo.CurrentPlayers <= 0)
return; continue;
if (serverInfo.HostedByStaff && staffSlot < 9) if (serverInfo.HostedByStaff && staffSlot < 9)
{ {
@ -234,7 +234,7 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
else else
{ {
if (slot >= 54) if (slot >= 54)
return; continue;
AddButton(slot, getPrivateItem(serverInfo), new JoinServerButton(this, serverInfo)); AddButton(slot, getPrivateItem(serverInfo), new JoinServerButton(this, serverInfo));
slot++; slot++;