mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-02 01:46:45 +01:00
Get correct xp amount. This is pretty important.
This commit is contained in:
parent
ed1c072fd7
commit
18138b289a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user