fix(debug sub-cmd): fix arrayindexoutofboundsexception

This commit is contained in:
aroooo 2022-11-04 17:11:06 +01:00
parent 2e2234baaf
commit ec6a83405a

View file

@ -30,6 +30,7 @@ public class NickoDebugSubCmd extends NickoSubCmd {
if(args.length < 3) {
sender.sendMessage(NickoBukkit.getInstance().getNickoConfig().getPrefix() + "§cMissing argument.");
return;
}
name = args[2];