From efa64c2cbbe51899f0add3af02b9b9bcc5bccbf1 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 17 Dec 2016 06:42:13 +0100 Subject: [PATCH] Fixed "addc" subcommand wrong z2 coord. --- CommandHandlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommandHandlers.lua b/CommandHandlers.lua index 60ef933..6246247 100644 --- a/CommandHandlers.lua +++ b/CommandHandlers.lua @@ -60,7 +60,7 @@ function HandleAddAreaCoords(a_Split, a_Player) a_Player:SendMessage(g_Msgs.ErrParseCoords); return true; end - local Cuboid = cCuboid(x1, 0, z1, x2, 255, z1); + local Cuboid = cCuboid(x1, 0, z1, x2, 255, z2); Cuboid:Sort(); -- Put all allowed players into a table: