Phinary needs some sleep!
This commit is contained in:
parent
9c1e3aa7aa
commit
cff63ca3e3
@ -221,10 +221,10 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
for (ServerInfo serverInfo : serverList)
|
||||
{
|
||||
if (serverInfo.MOTD.contains("Private"))
|
||||
return;
|
||||
continue;
|
||||
|
||||
if (serverInfo.MaxPlayers - serverInfo.CurrentPlayers <= 0)
|
||||
return;
|
||||
continue;
|
||||
|
||||
if (serverInfo.HostedByStaff && staffSlot < 9)
|
||||
{
|
||||
@ -234,7 +234,7 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
else
|
||||
{
|
||||
if (slot >= 54)
|
||||
return;
|
||||
continue;
|
||||
|
||||
AddButton(slot, getPrivateItem(serverInfo), new JoinServerButton(this, serverInfo));
|
||||
slot++;
|
||||
|
Loading…
Reference in New Issue
Block a user