Fixed /Addxp not working properly with two arguments

This commit is contained in:
bm01 2013-02-02 08:33:59 +01:00
parent ebca9fc2da
commit 9ea693d3ce

View File

@ -30,7 +30,7 @@ public class AddxpCommand implements CommandExecutor {
return false;
}
if (!SkillTools.isSkill(args[1])) {
if (!SkillTools.isSkill(args[0])) {
sender.sendMessage(LocaleLoader.getString("Commands.Skill.Invalid"));
return true;
}