From c14bb40f7e26a4f35970893767ebfb3b315f84aa Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 30 Jul 2021 20:03:31 +0100 Subject: [PATCH] //ellipsoidapply: undefined variable fixes --- worldeditadditions_commands/commands/meta/ellipsoidapply.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldeditadditions_commands/commands/meta/ellipsoidapply.lua b/worldeditadditions_commands/commands/meta/ellipsoidapply.lua index 5400488..83f00a1 100644 --- a/worldeditadditions_commands/commands/meta/ellipsoidapply.lua +++ b/worldeditadditions_commands/commands/meta/ellipsoidapply.lua @@ -45,14 +45,14 @@ worldedit.register_command("ellipsoidapply", { end, func = function(name, cmd, args_parsed) if not minetest.check_player_privs(name, cmd.privs) then - return false, "Your privileges are insufficient to execute the command '"..cmd_name.."'." + return false, "Your privileges are insufficient to execute the command '"..cmd.."'." end local success, stats_time = worldeditadditions.ellipsoidapply( worldedit.pos1[name], worldedit.pos2[name], function() cmd.func(name, worldeditadditions.table.unpack(args_parsed)) - end, args + end, args_parsed ) local time_overhead = 100 - worldeditadditions.round((stats_time.fn / stats_time.all) * 100, 3)