From 06a3483ca24ca8a14af01fcf21356972f3d83418 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 15 Apr 2016 15:23:37 +0100 Subject: Added compatibility with mobs already spawned in world --- bee.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bee.lua') diff --git a/bee.lua b/bee.lua index 039765e..ee4e99e 100644 --- a/bee.lua +++ b/bee.lua @@ -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", { -- cgit v1.2.3