summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/CommandState.lua
diff options
context:
space:
mode:
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;