Changed admin system

This commit is contained in:
Ziggeh
2014-08-11 08:28:38 +02:00
parent f78a2672cd
commit c8ab856313
17 changed files with 140 additions and 73 deletions
-2
View File
@@ -137,7 +137,6 @@ public class ConnectionService implements INetworkDispatch {
if (resultSet.next()) {
client.setAccountId(resultSet.getLong("accountId"));
client.setSessionKey(clientIdMsg.getSessionKey());
client.setGM(core.loginService.checkForGmPermission((int) resultSet.getLong("accountId")));
AccountFeatureBits accountFeatureBits = new AccountFeatureBits();
ClientPermissionsMessage clientPermissionsMessage = new ClientPermissionsMessage(maxNumberOfCharacters - core.characterService.getNumberOfCharacters((int) resultSet.getLong("accountId")));
session.write(new HeartBeatMessage().serialize());
@@ -340,7 +339,6 @@ public class ConnectionService implements INetworkDispatch {
}
ghost.toggleFlag(PlayerFlags.LD);
object.setPerformanceListenee(null);
object.setPerformanceWatchee(null);
object.setAttachment("disconnectTask", null);