fix using correct item string when checking groups

This commit is contained in:
Jacob Lifshay 2024-03-23 18:38:49 -07:00
parent 3c4970c7cd
commit 4064eb77b6
Signed by: programmerjake
SSH Key Fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ for itemstring, def in pairs(minetest.registered_items) do
and mod_name
and def.description
and def.description ~= ""
and ((minetest.get_item_group(item_name, "not_in_creative_inventory") < 1) or mod_name == "mcl_compass")
and ((minetest.get_item_group(itemstring, "not_in_creative_inventory") < 1) or mod_name == "mcl_compass")
and (not exchangeclone.get_item_emc(itemstring))
and exchangeclone.recipes[itemstring]
) then