diff --git a/Changelog.txt b/Changelog.txt index e64c766f9..3d8810d3e 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -10,6 +10,7 @@ Key: Version 1.4.05-dev + Added option to allow refreshing of chunks after block-breaking abilities. (Disabled by default) = Fixed bug where /addxp was setting instead of adding experience + = Fixed bug where /addxp was not processessing level-ups for online players = Fixed bug which allowed players to share experience with nearby dead players = Fixed bug with ChimaeraWings not taking Wings from a players inventory properly diff --git a/src/main/java/com/gmail/nossr50/commands/experience/ExperienceCommand.java b/src/main/java/com/gmail/nossr50/commands/experience/ExperienceCommand.java index b8b22cc8c..03d8838d7 100644 --- a/src/main/java/com/gmail/nossr50/commands/experience/ExperienceCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/experience/ExperienceCommand.java @@ -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) {