mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Added swap alias to the type command. Resolves #718.
This commit is contained in:
parent
ff9f385123
commit
5ec2030d83
1 changed files with 2 additions and 2 deletions
|
|
@ -1474,7 +1474,7 @@ class CmdTypeclass(MuxCommand):
|
|||
"""
|
||||
|
||||
key = "@typeclass"
|
||||
aliases = "@type, @parent"
|
||||
aliases = ["@type", "@parent", "@swap"]
|
||||
locks = "cmd:perm(typeclass) or perm(Builders)"
|
||||
help_category = "Building"
|
||||
|
||||
|
|
@ -1484,7 +1484,7 @@ class CmdTypeclass(MuxCommand):
|
|||
caller = self.caller
|
||||
|
||||
if not self.args:
|
||||
caller.msg("Usage: @type <object> [=<typeclass]")
|
||||
caller.msg("Usage: %s <object> [=<typeclass]" % self.cmdstring)
|
||||
return
|
||||
|
||||
# get object to swap on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue