Fixed bug where /addxp was setting instead of adding experience

Fixes #898
This commit is contained in:
TfT_02
2013-03-30 10:50:05 +01:00
parent f62e053a84
commit fc8ad40b00
3 changed files with 16 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class AddxpCommand extends ExperienceCommand {
mcMMOPlayer.applyXpGain(skill, value);
}
else {
profile.setSkillXpLevel(skill, value);
profile.addExperience(skill, value);
}
}