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

@ -43,7 +43,8 @@ mobs:register_spawn("mobs_animal:bee", {"group:flower"}, 20, 10, 9000, 1, 31000,
mobs:register_egg("mobs_animal:bee", "Bee", "mobs_bee_inv.png", 0)
minetest.register_alias("mobs:bee", "mobs_animal:bee")
-- compatibility
mobs:alias_mob("mobs:bee", "mobs_animal:bee")
-- honey
minetest.register_craftitem(":mobs:honey", {