more notes

This commit is contained in:
batchprogrammer314
2021-06-28 03:14:07 -05:00
parent 86c50f24c7
commit 70490d55bb
3 changed files with 11 additions and 10 deletions

View File

@@ -38,6 +38,7 @@ public class PlayerAICommand extends CommandInstance {
@Command(name = "create", desc = "Create bots.", usage = "<name> [skin]")
@Require("playerai.manage")
public void createBotCommand(@Sender Player sender, String name, @OptArg String skin) {
// make 16 character limit on name
Bot.createBot(name, sender.getLocation(), skin == null ? name : skin);
}