diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java index 6c1d085ad..db95f5660 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java @@ -313,8 +313,7 @@ public class PlayerProfile { if (now - gain.getTime() >= age) { gainsIterator.remove(); - // Because gainedSkillsXp contains this SkillType, we assume that rollingSkillsXp must also have this SkillType - xp += rollingSkillsXp.get(skillGains.getKey()); + xp += gain.getXp(); } else { break;