From a51bbb697483c5aecfd52bcaaa228f23ab46ff79 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Wed, 10 Mar 2021 20:41:41 +0100 Subject: [PATCH] fix nodename pattern --- mods/CORE/mcl_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_commands/init.lua b/mods/CORE/mcl_commands/init.lua index 47337cac07..ec4e1f35ad 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