From f746d17424a071c15fd5b92bc521ce832ba15a07 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 4 Jun 2013 21:05:33 +0000 Subject: ProtectionAreas: Actual protection is now working, areas are hard-coded (10,10) - (20,20) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1557 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/CommandState.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MCServer/Plugins/ProtectionAreas/CommandState.lua') diff --git a/MCServer/Plugins/ProtectionAreas/CommandState.lua b/MCServer/Plugins/ProtectionAreas/CommandState.lua index f9d0e28db..3df1259cc 100644 --- a/MCServer/Plugins/ProtectionAreas/CommandState.lua +++ b/MCServer/Plugins/ProtectionAreas/CommandState.lua @@ -40,7 +40,7 @@ end --- Returns the current coord pair as a cCuboid object -function cCommandState.GetCurrentCuboid() +function cCommandState:GetCurrentCuboid() local res = cCuboid( self.Coords1.x, self.Coords1.y, self.Coords1.z, self.Coords2.x, self.Coords2.y, self.Coords2.z -- cgit v1.2.3