mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Fixed ArrayIndexOutOfBounds error
This commit is contained in:
@ -52,6 +52,10 @@ public class XplockCommand implements CommandExecutor {
|
||||
player.sendMessage(LocaleLoader.getString("Commands.xplock.locked", new Object[] { Misc.getCapitalized(lastGained.toString()) }));
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
player.sendMessage(usage);
|
||||
return true;
|
||||
}
|
||||
|
||||
case 1:
|
||||
if (Skills.isSkill(args[0])) {
|
||||
|
Reference in New Issue
Block a user