mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
fix more warnings
This commit is contained in:
parent
4a6cb2551c
commit
2b88fa867e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue