fix not being able to transmute Wayfinder if not pointing in the right direction

This commit is contained in:
Jacob Lifshay 2024-03-24 23:19:11 -07:00
parent e5f5a82dd9
commit 49499311d3
Signed by: programmerjake
SSH Key Fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
1 changed files with 3 additions and 0 deletions

View File

@ -304,6 +304,9 @@ sorted_dump_action = {
local sediments = {}
for name, def in pairs(minetest.registered_items) do
if name:match("^artifacts:wayfinder_[1-9][0-9]*$") then
exchangeclone.register_alias("artifacts:wayfinder_0", name)
end
if def.groups.natural_slope or def.groups.not_in_creative_inventory then
goto continue
end