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