Fixed issue with player login sessions.

This commit is contained in:
Jonathan Williams 2015-08-24 20:21:14 -07:00
parent b64a75cbf3
commit 61c80fd31d

View File

@ -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());
}
});