mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed /Addxp not working properly with two arguments
This commit is contained in:
parent
ebca9fc2da
commit
9ea693d3ce
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user