From f6d285daed9713f7d99e180814954b33db0567af Mon Sep 17 00:00:00 2001 From: shogidude Date: Fri, 7 Jul 2023 03:04:19 -0600 Subject: [PATCH] Fixing Z location in xyzgrid teleport command --- evennia/contrib/grid/xyzgrid/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/grid/xyzgrid/commands.py b/evennia/contrib/grid/xyzgrid/commands.py index 17e60b3e48..cb92ca3bf0 100644 --- a/evennia/contrib/grid/xyzgrid/commands.py +++ b/evennia/contrib/grid/xyzgrid/commands.py @@ -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 "