Don't rearrange GUI if all dev servers are ingame
This commit is contained in:
parent
a8adf23c15
commit
fba449ca03
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user