Don't rearrange GUI if all dev servers are ingame

This commit is contained in:
samczsun 2016-09-07 19:17:47 -04:00
parent a8adf23c15
commit fba449ca03

View File

@ -183,8 +183,11 @@ public class ServerNpcPage extends ShopPageInventory<ServerManager, ServerNpcSho
{
if (TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis() - serverInfo.Server.getCurrentTime()) < 5)
{
hasDevServers = true;
break;
if (!isInProgress(serverInfo))
{
hasDevServers = true;
break;
}
}
else
{