System.out.println("Kicked out of client");
HandleException("You got kicked out of the client", "Kicked out of client");
System.exit(0);
} else if (type.equals("com.riotgames.platform.game.PlayerCredentialsDto")) {
System.out.println(result.getTO("data").getTO("body"));
GameClient.start(new PlayerCredentials(result.getTO("data").getTO("body")));
} else {
System.out.println("Received packet: ");
System.out.println(result);
}
}