I should be able to browse user game history now.

This commit is contained in:
marcins78@gmail.com
2011-12-07 21:04:26 +00:00
parent 2f14dfd581
commit 02423a604a

View File

@@ -210,6 +210,12 @@ public class ServerResource {
if (player == null)
sendError(Response.Status.UNAUTHORIZED);
if (player.getType().equals("a") && participantId != null) {
player = _playerDao.getPlayer(participantId);
if (player == null)
sendError(Response.Status.UNAUTHORIZED);
}
final List<GameHistoryEntry> playerGameHistory = _lotroServer.getPlayerGameHistory(player, start, count);
int recordCount = _lotroServer.getPlayerGameHistoryRecordCount(player);