forked from VoxeLibre/VoxeLibre
fix nodename pattern
This commit is contained in:
parent
11384bd73c
commit
a51bbb6974
|
@ -133,7 +133,7 @@ mcl_commands.types = {
|
|||
return S("Color is not a valid color name or hexadecimal!")
|
||||
end
|
||||
end},
|
||||
nodename = {"^(%l+[%w_]+%:?[_%l]+[%w_]*)$",
|
||||
nodename = {"(%l+[%w_]+%:?[_%l]+[%w_]*)",
|
||||
function(res, pointer)
|
||||
if minetest.registered_items[res[pointer]] then
|
||||
return nil, res[pointer], pointer+1
|
||||
|
|
Loading…
Reference in New Issue