1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-04 00:50:28 +02:00

alias anvil mod stuff if the anvil mod is removed

This commit is contained in:
flux
2022-10-11 15:00:25 -07:00
parent c0d63eb1e7
commit 788f0bc343

View File

@ -32,4 +32,8 @@ if cottages.has.anvil then
minetest.clear_craft({output = "anvil:hammer"})
minetest.register_alias_force("anvil:hammer", "cottages:hammer")
else
minetest.register_alias("anvil:anvil", "cottages:anvil")
minetest.register_alias("anvil:hammer", "cottages:hammer")
end