Fix for UserManager build error.

This commit is contained in:
LevelX2 2016-01-31 15:46:55 +01:00
parent 8cbca2491b
commit 1945e8eaa6

View file

@ -205,9 +205,9 @@ public class UserManager {
if (userStats == null) {
return "User " + userName + " not found";
}
return User.userStatsToString(userStats.getProto());
return "History of user " + userName + ": " + User.userStatsToMatchHistory(userStats.getProto()) + " " + User.userStatsToTourneyHistory(userStats.getProto());
}
return "History of user " + userName + ": " + user.getUserData().getHistory();
return "History of user " + userName + ": " + user.getUserData().getMatchHistory() + " " + user.getUserData().getTourneyHistory();
}
public void updateUserHistory() {