diff --git a/mods/CORE/mcl_commands/init.lua b/mods/CORE/mcl_commands/init.lua index 47337cac0..ec4e1f35a 100644 --- a/mods/CORE/mcl_commands/init.lua +++ b/mods/CORE/mcl_commands/init.lua @@ -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