fix(debug sub-cmd): fix arrayindexoutofboundsexception
This commit is contained in:
parent
2e2234baaf
commit
ec6a83405a
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ public class NickoDebugSubCmd extends NickoSubCmd {
|
||||||
|
|
||||||
if(args.length < 3) {
|
if(args.length < 3) {
|
||||||
sender.sendMessage(NickoBukkit.getInstance().getNickoConfig().getPrefix() + "§cMissing argument.");
|
sender.sendMessage(NickoBukkit.getInstance().getNickoConfig().getPrefix() + "§cMissing argument.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
name = args[2];
|
name = args[2];
|
||||||
|
|
Loading…
Reference in a new issue