Skip to content

Commit

Permalink
Fixed "addc" subcommand wrong z2 coord.
Browse files Browse the repository at this point in the history
  • Loading branch information
madmaxoft committed Dec 17, 2016
1 parent d73f95a commit efa64c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommandHandlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit efa64c2

Please sign in to comment.