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 --- chicken.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chicken.lua') diff --git a/chicken.lua b/chicken.lua index f5a58bd..716dbeb 100644 --- a/chicken.lua +++ b/chicken.lua @@ -80,7 +80,8 @@ mobs:register_spawn("mobs_animal:chicken", mobs:register_egg("mobs_animal:chicken", "Chicken", "mobs_chicken_inv.png", 0) -minetest.register_alias("mobs:chicken", "mobs_animal:chicken") +-- compatibility +mobs:alias_mob("mobs:chicken", "mobs_animal:chicken") -- egg entity -- cgit v1.2.3