Receiving objects from server on separate thread
This commit is contained in:
@ -101,6 +101,7 @@ public class Startup {
|
||||
client.onlineInit(new LoginCredentials(userName, pass.toCharArray()));
|
||||
} catch (Exception e1) {
|
||||
logger.warning("Could not connect to server. Trying offline mode...");
|
||||
e1.printStackTrace();
|
||||
try {
|
||||
// Try entering offline mode
|
||||
localDB.loadUsers();
|
||||
|
Reference in New Issue
Block a user