mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
Give correct error on set/desc here. Resolve #2382.
This commit is contained in:
parent
c425f95193
commit
c4806716da
1 changed files with 5 additions and 0 deletions
|
|
@ -1874,6 +1874,11 @@ class CmdSetAttribute(ObjManipCommand):
|
|||
if len(attrs) > 1:
|
||||
caller.msg("The Line editor can only be applied " "to one attribute at a time.")
|
||||
return
|
||||
if not attrs:
|
||||
caller.msg("Use `set/edit <objname>/<attr>` to define the Attribute to edit.\nTo "
|
||||
"edit the current room description, use `set/edit here/desc` (or "
|
||||
"use the `desc` command).")
|
||||
return
|
||||
self.edit_handler(obj, attrs[0])
|
||||
return
|
||||
if not value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue