1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-13 05:10:22 +02:00

override anvil mod if present

This commit is contained in:
flux
2022-10-10 10:02:44 -07:00
parent e764a6d05c
commit e88660462f
3 changed files with 14 additions and 4 deletions

View File

@ -25,3 +25,11 @@ if cottages.has.technic then
cottages.anvil.make_unrepairable("technic:mining_drill_mk3_4")
cottages.anvil.make_unrepairable("technic:mining_drill_mk3_5")
end
if cottages.has.anvil then
minetest.clear_craft({output = "anvil:anvil"})
minetest.register_alias_force("anvil:anvil", "cottages:anvil")
minetest.clear_craft({output = "anvil:hammer"})
minetest.register_alias_force("anvil:hammer", "cottages:hammer")
end