mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Fixed bug where /addxp was setting instead of adding experience
Fixes #898
This commit is contained in:
@ -24,7 +24,7 @@ public class AddxpCommand extends ExperienceCommand {
|
||||
mcMMOPlayer.applyXpGain(skill, value);
|
||||
}
|
||||
else {
|
||||
profile.setSkillXpLevel(skill, value);
|
||||
profile.addExperience(skill, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user