mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-12-06 19:01:51 +00:00
Added Game#dropClient and Game#confirmedDropClient
This commit is contained in:
1 parent
96f20ef7b0
commit
f330ab9d0a
1 file changed
+8
-1
@@ -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