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 --- bunny.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bunny.lua') diff --git a/bunny.lua b/bunny.lua index 2b25ec6..d1519a5 100644 --- a/bunny.lua +++ b/bunny.lua @@ -83,4 +83,5 @@ mobs:register_spawn("mobs_animal:bunny", mobs:register_egg("mobs_animal:bunny", "Bunny", "mobs_bunny_inv.png", 0) -minetest.register_alias("mobs:bunny", "mobs_animal:bunny") +-- compatibility +mobs:alias_mob("mobs:bunny", "mobs_animal:bunny") -- cgit v1.2.3