fix more warnings

This commit is contained in:
Starbeamrainbowlabs 2022-09-18 16:33:37 +01:00
parent 4a6cb2551c
commit 2b88fa867e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View file

@ -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
})

View file

@ -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)