Skip to content

Commit

Permalink
stable at last
Browse files Browse the repository at this point in the history
  • Loading branch information
VorTechnix committed Sep 12, 2024
1 parent bcaceac commit 738940a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worldeditadditions_core/utils/parse/axes_parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ end
-- if error: @returns: false, String: error message
function parse.keytable(tbl, facing, sum)
local min, max = Vector3.new(), Vector3.new()
local expected, d = 1, {"x", "y", "z"}
local expected = 1
local tmp = {axes = {}, num = 0, sign = 1, mirror = false}

--- Processes a number and adds it to the min and max vectors.
Expand All @@ -168,7 +168,7 @@ function parse.keytable(tbl, facing, sum)

if expected == 1 then
if tmp.num then
parseNumber(tmp.num, {d, rev=d}, tmp.sign)
parseNumber(tmp.num, {"x", "y", "z", rev={"x", "y", "z"}}, tmp.sign)
else
local key_type, key_entry, key_sign = parse.keyword(v)

Expand Down

0 comments on commit 738940a

Please sign in to comment.