Changed set-attr to support changing attributes of marked items

This commit is contained in:
Leon Mika 2022-07-17 22:01:25 +10:00
parent 7fc67e4d9a
commit 0f0bf70d01
6 changed files with 108 additions and 65 deletions

View file

@ -60,7 +60,10 @@ func (c *CommandController) Alias(commandName string) Command {
return events.SetError(errors.New("no such command: " + commandName))
}
return command(args[1:])
if len(args) > 1 {
return command(args[1:])
}
return command([]string{})
}
}