Update basename.lua

This commit is contained in:
VorTechnix 2021-07-28 10:15:03 -07:00
parent 1436974e9b
commit 57369099a7

View file

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