Bug fixed in registered_tools

This commit is contained in:
A.C.M 2019-07-08 20:02:49 +02:00
parent 868ae3487d
commit 28c3ae18ce

View File

@ -31,8 +31,8 @@ function cucina_vegana.add_group(node, entry)
elseif(minetest.registered_craftitems[node] ~= nil) then
newgroup = cucina_vegana.table_clone(minetest.registered_craftitems[node].groups)
elseif(minetest.registered_tool[node] ~= nil) then
newgroup = cucina_vegana.table_clone(minetest.registered_craftitems[node].groups)
elseif(minetest.registered_tools[node] ~= nil) then
newgroup = cucina_vegana.table_clone(minetest.registered_tools[node].groups)
end -- if(minetest.registered_nodes