summaryrefslogtreecommitdiff
path: root/cow.lua
diff options
context:
space:
mode:
Diffstat (limited to 'cow.lua')
-rw-r--r--cow.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/cow.lua b/cow.lua
index ff3ed7c..6c43938 100644
--- a/cow.lua
+++ b/cow.lua
@@ -98,7 +98,8 @@ mobs:register_spawn("mobs_animal:cow",
mobs:register_egg("mobs_animal:cow", "Cow", "default_grass.png", 1)
-minetest.register_alias("mobs:cow", "mobs_animal:cow")
+-- compatibility
+mobs:alias_mob("mobs:cow", "mobs_animal:cow")
-- bucket of milk
minetest.register_craftitem(":mobs:bucket_milk", {