Merge pull request #9056 from WilliamCollishaw/fix-sessionCheck-typo

Fix typo in 'sessionCheck' function name
This commit is contained in:
Tomas Slusny
2019-06-08 22:52:11 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ public class AccountClient
} }
} }
public boolean sesssionCheck() public boolean sessionCheck()
{ {
HttpUrl url = RuneLiteAPI.getApiBase().newBuilder() HttpUrl url = RuneLiteAPI.getApiBase().newBuilder()
.addPathSegment("account") .addPathSegment("account")

View File

@@ -94,7 +94,7 @@ public class SessionManager
// Check if session is still valid // Check if session is still valid
AccountClient accountClient = new AccountClient(session.getUuid()); AccountClient accountClient = new AccountClient(session.getUuid());
if (!accountClient.sesssionCheck()) if (!accountClient.sessionCheck())
{ {
log.debug("Loaded session {} is invalid", session.getUuid()); log.debug("Loaded session {} is invalid", session.getUuid());
return; return;