Added compatibility with mobs already spawned in world

This commit is contained in:
TenPlus1
2016-04-15 15:23:37 +01:00
parent 654c54075a
commit 06a3483ca2
8 changed files with 18 additions and 22 deletions

View File

@ -98,7 +98,8 @@ mobs:register_spawn("mobs_animal:cow",
mobs:register_egg("mobs_animal:cow", "Cow", "default_grass.png", 1)
minetest.register_alias("mobs:cow", "mobs_animal:cow")
-- compatibility
mobs:alias_mob("mobs:cow", "mobs_animal:cow")
-- bucket of milk
minetest.register_craftitem(":mobs:bucket_milk", {