This commit is contained in:
TfT_02 2013-05-26 15:02:08 +02:00
parent 3525dc82b0
commit ed1c072fd7
3 changed files with 9 additions and 9 deletions

View File

@ -521,6 +521,7 @@ public class McMMOPlayer {
}
profile.setSkillXpLevel(skillType, profile.getSkillXpLevelRaw(skillType) + event.getRawXpGained());
profile.registeredXpGain(skillType, event.getRawXpGained());
McMMOHud spoutHud = profile.getSpoutHud();

View File

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

View File

@ -67,7 +67,5 @@ public class SelfListener implements Listener {
event.setCancelled(true);
}
}
mcMMOPlayer.getProfile().registeredXpGain(skillType, event.getRawXpGained());
}
}