mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-02 16:49:09 +00:00
Added Game#dropClient and Game#confirmedDropClient
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user