This commit is contained in:
kirillsaint 2023-08-02 14:18:54 +06:00
parent 3bc65a3eb0
commit 27e6a840f2
2 changed files with 2 additions and 2 deletions

View File

@ -520,7 +520,7 @@ public class Client {
// Instances
public String getApiUrl() {
return "http://localhost:" + getUserData().port;
return "http://localhost:" + getUserData().server_port;
}
public AccountManager getAccountManager() {

View File

@ -2,7 +2,7 @@ package net.silentclient.client.utils.types;
public class UserData {
public String access_token;
public int port;
public int server_port;
public UserData() {
this.access_token = "";