mirror of
https://github.com/Sokomine/cottages.git
synced 2025-04-20 19:10:25 +02:00
alias anvil mod stuff if the anvil mod is removed
This commit is contained in:
parent
c0d63eb1e7
commit
788f0bc343
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user