From f330ab9d0ac2a6df56913bc61e725e371340aaf6 Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Mon, 14 Sep 2015 10:56:05 +0200 Subject: [PATCH] Added Game#dropClient and Game#confirmedDropClient --- src/main/java/org/rev317/min/api/methods/Game.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/rev317/min/api/methods/Game.java b/src/main/java/org/rev317/min/api/methods/Game.java index a8da913..e1f0419 100644 --- a/src/main/java/org/rev317/min/api/methods/Game.java +++ b/src/main/java/org/rev317/min/api/methods/Game.java @@ -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