From 2b88fa867e05bfa906e2803a2918f072aff56141 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 18 Sep 2022 16:33:37 +0100 Subject: [PATCH] fix more warnings --- worldeditadditions_commands/commands/extra/basename.lua | 2 +- worldeditadditions_commands/commands/meta/ellipsoidapply.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/worldeditadditions_commands/commands/extra/basename.lua b/worldeditadditions_commands/commands/extra/basename.lua index eac8497..c9f9372 100644 --- a/worldeditadditions_commands/commands/extra/basename.lua +++ b/worldeditadditions_commands/commands/extra/basename.lua @@ -15,6 +15,6 @@ worldeditadditions_core.register_command("basename", { end, func = function(name, params_text) if name == nil then return end - return true, worldedit.normalize_nodename(params_text) or 'Error 404: "'..params_text..'" not found!' + return true, worldedit.normalize_nodename(params_text) or ('Error 404: "'..params_text..'" not found!') end }) diff --git a/worldeditadditions_commands/commands/meta/ellipsoidapply.lua b/worldeditadditions_commands/commands/meta/ellipsoidapply.lua index 4923d5f..9ee94de 100644 --- a/worldeditadditions_commands/commands/meta/ellipsoidapply.lua +++ b/worldeditadditions_commands/commands/meta/ellipsoidapply.lua @@ -53,7 +53,7 @@ worldeditadditions_core.register_command("ellipsoidapply", { worldedit.pos1[name], worldedit.pos2[name], function() cmd.func(name, worldeditadditions.table.unpack(args_parsed)) - end, args_parsed + end --, args_parsed ) local time_overhead = 100 - worldeditadditions.round((stats_time.fn / stats_time.all) * 100, 3)