From 714716ff32140f377df103c01b2b8415bb3de82a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 15 Jul 2023 01:17:26 +0100 Subject: [PATCH] =?UTF-8?q?rename=20parse.axes=5Fname=20=E2=86=92=20axes?= =?UTF-8?q?=5Fname=5Fold?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldeditadditions_commands/commands/dome.lua | 2 +- worldeditadditions_core/utils/parse/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/worldeditadditions_commands/commands/dome.lua b/worldeditadditions_commands/commands/dome.lua index 5df8312..975e5fe 100644 --- a/worldeditadditions_commands/commands/dome.lua +++ b/worldeditadditions_commands/commands/dome.lua @@ -5,7 +5,7 @@ local Vector3 = wea_c.Vector3 local function parse_stage2(name, parts) local result = Vector3.new() for i,axis_name in ipairs(parts) do - local success, result_this = wea_c.parse.axis_name(axis_name, wea_c.player_dir(name)) + local success, result_this = wea_c.parse.axis_name_old(axis_name, wea_c.player_dir(name)) if not success then return success, result_this end result = result + result_this diff --git a/worldeditadditions_core/utils/parse/init.lua b/worldeditadditions_core/utils/parse/init.lua index 19dc236..b071db7 100644 --- a/worldeditadditions_core/utils/parse/init.lua +++ b/worldeditadditions_core/utils/parse/init.lua @@ -17,7 +17,7 @@ wea_c.parse = { -- Old parse functions (marked for deprecation). -- Use parse.keytable or parse.keyword instead axes = axes.parse_axes, - axis_name = axes.parse_axis_name, + axis_name_old = axes.parse_axis_name, seed = dofile(wea_c.modpath.."/utils/parse/seed.lua"), chance = dofile(wea_c.modpath.."/utils/parse/chance.lua"),