summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/CommandState.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-06 22:42:42 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-06 22:42:42 +0200
commit6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9 (patch)
tree0012765f0fc3d86719b956e57b79db5aa33da5b4 /MCServer/Plugins/ProtectionAreas/CommandState.lua
parentProtectionAreas: Added cStorage initialization (diff)
downloadcuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar.gz
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar.bz2
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar.lz
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar.xz
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.tar.zst
cuberite-6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9.zip
Diffstat (limited to 'MCServer/Plugins/ProtectionAreas/CommandState.lua')
-rw-r--r--MCServer/Plugins/ProtectionAreas/CommandState.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/CommandState.lua b/MCServer/Plugins/ProtectionAreas/CommandState.lua
index 3df1259cc..8feae8f8c 100644
--- a/MCServer/Plugins/ProtectionAreas/CommandState.lua
+++ b/MCServer/Plugins/ProtectionAreas/CommandState.lua
@@ -42,8 +42,8 @@ end
--- Returns the current coord pair as a cCuboid object
function cCommandState:GetCurrentCuboid()
local res = cCuboid(
- self.Coords1.x, self.Coords1.y, self.Coords1.z,
- self.Coords2.x, self.Coords2.y, self.Coords2.z
+ self.m_Coords1.x, self.m_Coords1.y, self.m_Coords1.z,
+ self.m_Coords2.x, self.m_Coords2.y, self.m_Coords2.z
);
res:Sort();
return res;