From dc73e0e1e97cdf176f9b14a84e6f732cdd9e69bb Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Mon, 30 May 2022 08:38:33 -0700 Subject: [PATCH] sum param clarification --- worldeditadditions/utils/parse/axes_parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/utils/parse/axes_parser.lua b/worldeditadditions/utils/parse/axes_parser.lua index a96c13a..8310a83 100644 --- a/worldeditadditions/utils/parse/axes_parser.lua +++ b/worldeditadditions/utils/parse/axes_parser.lua @@ -140,7 +140,7 @@ end --- Converts Unified Axis Keyword table into Vector3 instances. -- @param: tbl: Table: Keyword table to parse -- @param: facing: Table: Output from worldeditadditions.player_dir(name) --- @param: sum: Bool: Return a single vector by summing the 2 output vectors together +-- @param: sum: Bool | String | nil: Return a single vector by summing the 2 output vectors together -- @returns: Vector3, [Vector3]: returns min, max Vector3s or sum Vector3 (if @param: sum ~= nil) -- if error: @returns: false, String: error message function parse.keytable(tbl, facing, sum)