Fixed experience commands affecting all skills. Fixes #951

This commit is contained in:
GJ 2013-04-11 09:55:39 -04:00
parent 07f9b287e7
commit 27e0a9d3b6
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Version 1.4.06-dev
= Fixed displaying partial names when trying to use /ptp
= Fixed wolves from Call of the Wild only having 8 health
= Fixed bug where /party chat was not working
= Fixed bug where experience commands were adding levels to all skills when they shouldn't
! Changed Chimaera Wing's recipe result to use the ingredient Material
! Players will no longer pickup items to their hotbar while using Unarmed
! ExperienceAPI methods will now throw InvalidSkillException if the skill name passed in is invalid.

View File

@ -51,6 +51,7 @@ public abstract class ExperienceCommand implements TabExecutor {
profile = mcMMOPlayer.getProfile();
editValues();
allSkills = false;
return true;
case 3:
@ -83,6 +84,7 @@ public abstract class ExperienceCommand implements TabExecutor {
}
handleSenderMessage(sender, args[0]);
allSkills = false;
return true;
default: