Merge pull request #3222 from shogidude/xyzgrid-node-updating

Fixing Z location in xyzgrid teleport command
This commit is contained in:
Griatch 2023-07-14 12:43:18 +02:00 committed by GitHub
commit 866bb060ef

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 "