summaryrefslogtreecommitdiff
path: root/warthog.lua
diff options
context:
space:
mode:
Diffstat (limited to 'warthog.lua')
-rw-r--r--warthog.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/warthog.lua b/warthog.lua
index 8988341..043cb42 100644
--- a/warthog.lua
+++ b/warthog.lua
@@ -58,7 +58,8 @@ mobs:register_spawn("mobs_animal:pumba",
mobs:register_egg("mobs_animal:pumba", "Warthog", "wool_pink.png", 1)
-minetest.register_alias("mobs:pumba", "mobs_animal:pumba")
+-- compatibility
+mobs:alias_mob("mobs:pumba", "mobs_animal:pumba")
-- raw porkchop
minetest.register_craftitem(":mobs:pork_raw", {