mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 10:21:32 +01:00
Fix
This commit is contained in:
parent
3bc65a3eb0
commit
27e6a840f2
@ -520,7 +520,7 @@ public class Client {
|
|||||||
|
|
||||||
// Instances
|
// Instances
|
||||||
public String getApiUrl() {
|
public String getApiUrl() {
|
||||||
return "http://localhost:" + getUserData().port;
|
return "http://localhost:" + getUserData().server_port;
|
||||||
}
|
}
|
||||||
|
|
||||||
public AccountManager getAccountManager() {
|
public AccountManager getAccountManager() {
|
||||||
|
@ -2,7 +2,7 @@ package net.silentclient.client.utils.types;
|
|||||||
|
|
||||||
public class UserData {
|
public class UserData {
|
||||||
public String access_token;
|
public String access_token;
|
||||||
public int port;
|
public int server_port;
|
||||||
|
|
||||||
public UserData() {
|
public UserData() {
|
||||||
this.access_token = "";
|
this.access_token = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user