Fixed issue with player login sessions.
This commit is contained in:
parent
b64a75cbf3
commit
61c80fd31d
@ -85,6 +85,7 @@ public class PlayerStats implements Listener, Runnable
|
||||
}
|
||||
|
||||
playerInfo.setSessionId(_repository.updatePlayerStats(playerInfo.getId(), ipInfo.id));
|
||||
_playerCache.addPlayer(playerInfo);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@ -130,6 +131,7 @@ public class PlayerStats implements Listener, Runnable
|
||||
timeout++;
|
||||
}
|
||||
|
||||
System.out.println(playerInfo.getName() + ":" + playerInfo.getSessionId());
|
||||
_repository.updatePlayerSession(playerInfo.getSessionId());
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user