Fixing Z location in xyzgrid teleport command
This commit is contained in:
parent
98ce816e39
commit
f6d285daed
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class CmdXYZTeleport(building.CmdTeleport):
|
||||||
else:
|
else:
|
||||||
# use current location's Z, if it exists
|
# use current location's Z, if it exists
|
||||||
try:
|
try:
|
||||||
xyz = self.caller.xyz
|
xyz = self.caller.location.xyz
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
self.caller.msg(
|
self.caller.msg(
|
||||||
"Z-coordinate is also required since you are not currently "
|
"Z-coordinate is also required since you are not currently "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue