Update basename.lua

This commit is contained in:
VorTechnix 2021-07-28 10:15:03 -07:00
parent 1436974e9b
commit 57369099a7
1 changed files with 1 additions and 1 deletions

View File

@ -15,6 +15,6 @@ worldedit.register_command("basename", {
end,
func = function(name, params_text)
if name == nil then return end
worldedit.player_notify(name, 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
})