From 4b3514204408a1f9b454275f02fcf9ce2b8014b1 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Thu, 22 Jul 2021 13:29:29 -0700 Subject: [PATCH] params to params_text --- worldeditadditions_commands/commands/wireframe/wbox.lua | 6 +++--- worldeditadditions_commands/commands/wireframe/wcorner.lua | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/worldeditadditions_commands/commands/wireframe/wbox.lua b/worldeditadditions_commands/commands/wireframe/wbox.lua index 56a01ce..bf8b98a 100644 --- a/worldeditadditions_commands/commands/wireframe/wbox.lua +++ b/worldeditadditions_commands/commands/wireframe/wbox.lua @@ -10,10 +10,10 @@ worldedit.register_command("wbox", { description = "Set the corners of the current selection to ", privs = {worldedit=true}, require_pos = 2, - parse = function(param) - local node = worldedit.normalize_nodename(param) + parse = function(params_text) + local node = worldedit.normalize_nodename(params_text) if not node then - return false, "invalid node name: " .. param + return false, "invalid node name: " .. params_text end return true, node end, diff --git a/worldeditadditions_commands/commands/wireframe/wcorner.lua b/worldeditadditions_commands/commands/wireframe/wcorner.lua index fb66d60..5de03a3 100644 --- a/worldeditadditions_commands/commands/wireframe/wcorner.lua +++ b/worldeditadditions_commands/commands/wireframe/wcorner.lua @@ -9,10 +9,10 @@ worldedit.register_command("wcorner", { description = "Set the corners of the current selection to ", privs = {worldedit=true}, require_pos = 2, - parse = function(param) - local node = worldedit.normalize_nodename(param) + parse = function(params_text) + local node = worldedit.normalize_nodename(params_text) if not node then - return false, "invalid node name: " .. param + return false, "invalid node name: " .. params_text end return true, node end,