total players registerd

This commit is contained in:
dginovker
2019-10-09 18:52:41 -04:00
parent b97a843428
commit d9d09a7ed0
6 changed files with 43 additions and 1 deletions
@@ -8,6 +8,7 @@ import java.net.URL;
public class PlayersOnlineWebsite {
static String password;
private static boolean hasntwared = true;
private static void setWebsitePlayersOnline(int amount) throws IOException {
URL url;
@@ -30,7 +31,8 @@ public class PlayersOnlineWebsite {
} else {
count--;
}
} else {
} else if (hasntwared) {
hasntwared = false;
System.out.println("No Players Online On Website Password Set So Task Stopped");
}
}