Object obj = parser.parse(response);
JSONArray jsonObject = (JSONArray) obj;
Iterator<JSONObject> iterator = jsonObject.iterator();
while (iterator.hasNext()) {
JSONObject object = iterator.next();
if (object.containsKey("authserver.mojang.com")) {
if (((String) object.get("authserver.mojang.com")).equalsIgnoreCase("green")) {
minecraftLoginServerUp = true;
}
} else if (object.containsKey("session.minecraft.net")) {
if (((String) object.get("session.minecraft.net")).equalsIgnoreCase("green")) {