summaryrefslogtreecommitdiff
path: root/rat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rat.lua')
-rw-r--r--rat.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/rat.lua b/rat.lua
index 987d219..fc9e604 100644
--- a/rat.lua
+++ b/rat.lua
@@ -41,7 +41,8 @@ mobs:register_spawn("mobs_animal:rat", {"default:stone"}, 20, 5, 15000, 2, 0)
mobs:register_egg("mobs_animal:rat", "Rat", "mobs_rat_inventory.png", 0)
-minetest.register_alias("mobs:rat", "mobs_animal:rat")
+-- compatibility
+mobs:alias_mob("mobs:rat", "mobs_animal:rat")
-- cooked rat, yummy!
minetest.register_craftitem(":mobs:rat_cooked", {