mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-15 18:49:23 +02:00
Wrap these inside McMMOPlayer for easier access.
This commit is contained in:
@@ -23,7 +23,7 @@ public class AddxpCommand extends ExperienceCommand {
|
||||
mcMMOPlayer.applyXpGain(skill, value);
|
||||
}
|
||||
else {
|
||||
profile.addExperience(skill, value);
|
||||
profile.addXp(skill, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user