mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
Update basename.lua
This commit is contained in:
parent
1436974e9b
commit
57369099a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue