mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-13 03:13:26 -04:00
Refactored disconnect handling, updated engine
This commit is contained in:
@@ -135,7 +135,7 @@ public class LoginService implements INetworkDispatch{
|
||||
client.setSession(session);
|
||||
client.setGM(checkForGmPermission(id));
|
||||
|
||||
core.addClient((Integer)session.getAttribute("connectionId"), client);
|
||||
core.addClient(session, client);
|
||||
|
||||
/*if(!checkIfAccountExistInGameDB(id)) {
|
||||
createAccountForGameDB(id, user, email, encryptPass);
|
||||
@@ -179,7 +179,7 @@ public class LoginService implements INetworkDispatch{
|
||||
|
||||
DeleteCharacterMessage packet = new DeleteCharacterMessage();
|
||||
packet.deserialize(data);
|
||||
Client client = core.getClient((Integer) session.getAttribute("connectionId"));
|
||||
Client client = core.getClient(session);
|
||||
|
||||
PreparedStatement preparedStatement;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user