mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
Added Game#dropClient and Game#confirmedDropClient
This commit is contained in:
@@ -115,11 +115,18 @@ public class Game {
|
|||||||
return Loader.getClient().isLoggedIn();
|
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
|
* Drops the client and returns if the game is logged out or not
|
||||||
* @return True if game is logged out, false if not
|
* @return True if game is logged out, false if not
|
||||||
*/
|
*/
|
||||||
public static boolean dropClient(){
|
public static boolean confirmedDropClient(){
|
||||||
Loader.getClient().dropClient();
|
Loader.getClient().dropClient();
|
||||||
Time.sleep(new SleepCondition() {
|
Time.sleep(new SleepCondition() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user