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 --- kitten.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kitten.lua') diff --git a/kitten.lua b/kitten.lua index 6f17cd1..cf75451 100644 --- a/kitten.lua +++ b/kitten.lua @@ -55,4 +55,5 @@ mobs:register_spawn("mobs_animal:kitten", mobs:register_egg("mobs_animal:kitten", "Kitten", "mobs_kitten_inv.png", 0) -minetest.register_alias("mobs:kitten", "mobs_animal:kitten") +-- compatibility +mobs:alias_mob("mobs:kitten", "mobs_animal:kitten") -- cgit v1.2.3