summaryrefslogtreecommitdiff
path: root/bunny.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bunny.lua')
-rw-r--r--bunny.lua3
1 files changed, 2 insertions, 1 deletions
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")