Fixes, remove player injections and tab removal packets.

This commit is contained in:
BattleDash
2021-06-26 19:26:46 -07:00
parent 6243636243
commit cb9a1150ec
3 changed files with 6 additions and 102 deletions

View File

@@ -35,7 +35,7 @@ public class PlayerAICommand extends CommandInstance {
}
@Command(name = "create", desc = "Create bots.", usage = "<name> [skin]")
public void createBotCommand(@Sender Player sender, String name, @OptArg() String skin) {
public void createBotCommand(@Sender Player sender, String name, @OptArg("Technoblade") String skin) {
NPC.createNPC(name, sender.getLocation(), skin.isEmpty() ? name : skin);
}