Added Game#dropClient and Game#confirmedDropClient

This commit is contained in:
JKetelaar
2015-09-14 10:56:05 +02:00
parent 96f20ef7b0
commit f330ab9d0a
@@ -115,11 +115,18 @@ public class Game {
return Loader.getClient().isLoggedIn();
}
/**
* Just simply drops the client
*/
public static void dropClient(){
Loader.getClient().dropClient();
}
/**
* Drops the client and returns if the game is logged out or not
* @return True if game is logged out, false if not
*/
public static boolean dropClient(){
public static boolean confirmedDropClient(){
Loader.getClient().dropClient();
Time.sleep(new SleepCondition() {
@Override