Get correct xp amount. This is pretty important.

This commit is contained in:
TfT_02 2013-05-26 18:36:49 +02:00
parent ed1c072fd7
commit 18138b289a

View File

@ -313,8 +313,7 @@ public class PlayerProfile {
if (now - gain.getTime() >= age) { if (now - gain.getTime() >= age) {
gainsIterator.remove(); gainsIterator.remove();
// Because gainedSkillsXp contains this SkillType, we assume that rollingSkillsXp must also have this SkillType xp += gain.getXp();
xp += rollingSkillsXp.get(skillGains.getKey());
} }
else { else {
break; break;