@spawn/edit is equivalent to @spawn/olc and @olc
This commit is contained in:
parent
ca81d35e1c
commit
d3ddeda7c9
1 changed files with 3 additions and 2 deletions
|
|
@ -2856,7 +2856,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
key = "@spawn"
|
key = "@spawn"
|
||||||
aliases = ["olc"]
|
aliases = ["olc"]
|
||||||
switch_options = ("noloc", "search", "list", "show", "save", "delete", "menu", "olc", "update")
|
switch_options = ("noloc", "search", "list", "show", "save", "delete", "menu", "olc", "update", "edit")
|
||||||
locks = "cmd:perm(spawn) or perm(Builder)"
|
locks = "cmd:perm(spawn) or perm(Builder)"
|
||||||
help_category = "Building"
|
help_category = "Building"
|
||||||
|
|
||||||
|
|
@ -2907,7 +2907,8 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
caller = self.caller
|
caller = self.caller
|
||||||
|
|
||||||
if self.cmdstring == "olc" or 'menu' in self.switches or 'olc' in self.switches:
|
if self.cmdstring == "olc" or 'menu' in self.switches \
|
||||||
|
or 'olc' in self.switches or 'edit' in self.switches:
|
||||||
# OLC menu mode
|
# OLC menu mode
|
||||||
prototype = None
|
prototype = None
|
||||||
if self.lhs:
|
if self.lhs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue