mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +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) {
|
||||
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;
|
||||
|
Reference in New Issue
Block a user