Add multi-delimiter split to CmdTeleport

This commit is contained in:
BlauFeuer 2018-03-05 20:14:20 -05:00 committed by GitHub
parent 45d5ee8745
commit 87d32abedd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2427,7 +2427,7 @@ class CmdTeleport(COMMAND_DEFAULT_CLASS):
key = "@tel"
aliases = "@teleport"
switch_options = ("quiet", "intoexit", "tonone", "loc")
rhs_split = " to "
rhs_split = ("=", " to ") # Prefer = delimiter, but allow " to " usage.
locks = "cmd:perm(teleport) or perm(Builder)"
help_category = "Building"