mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 13:14:44 +02:00
Get correct xp amount. This is pretty important.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user