mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Fixed bug where /addxp was not processessing level-ups for online players
Fixes #918
This commit is contained in:
@ -58,6 +58,7 @@ public abstract class ExperienceCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||
player = mcMMOPlayer.getPlayer();
|
||||
|
||||
// If the mcMMOPlayer doesn't exist, create a temporary profile and check if it's present in the database. If it's not, abort the process.
|
||||
if (mcMMOPlayer == null) {
|
||||
|
Reference in New Issue
Block a user