From 6cb76856ff95bdc56d15b9dee6dc80dfbc755fd9 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 6 Jun 2013 20:42:42 +0000 Subject: ProtectionAreas: Newly added areas are stored in the DB git-svn-id: http://mc-server.googlecode.com/svn/trunk@1560 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/CommandState.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MCServer/Plugins/ProtectionAreas/CommandState.lua') 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; -- cgit v1.2.3