Fixing Z location in xyzgrid teleport command

This commit is contained in:
shogidude 2023-07-07 03:04:19 -06:00
parent 98ce816e39
commit f6d285daed

View file

@ -68,7 +68,7 @@ class CmdXYZTeleport(building.CmdTeleport):
else:
# use current location's Z, if it exists
try:
xyz = self.caller.xyz
xyz = self.caller.location.xyz
except AttributeError:
self.caller.msg(
"Z-coordinate is also required since you are not currently "