mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 00:38:16 +00:00
AccountManager fixes
This commit is contained in:
@@ -30,6 +30,7 @@ public final class AccountManager {
|
|||||||
if (validated) {
|
if (validated) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
validated = true;
|
||||||
instance = new AccountManager();
|
instance = new AccountManager();
|
||||||
|
|
||||||
Core.verbose("Initializing account manager accessors...");
|
Core.verbose("Initializing account manager accessors...");
|
||||||
@@ -63,6 +64,7 @@ public final class AccountManager {
|
|||||||
URLEncoder.encode(user, "UTF-8"),
|
URLEncoder.encode(user, "UTF-8"),
|
||||||
URLEncoder.encode(pass, "UTF-8")));
|
URLEncoder.encode(pass, "UTF-8")));
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
t.printStackTrace();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user