mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-10 22:00:50 +01: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