mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-20 05:24:20 +02:00
Update basename.lua
This commit is contained in:
parent
1436974e9b
commit
57369099a7
@ -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 New Issue
Block a user