summaryrefslogtreecommitdiff
path: root/warthog.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-08 16:11:49 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-08 16:11:49 +0000
commit7215a670a833793d1507f8bc966ea779121802f5 (patch)
tree04d7f09c4e7f7a1a575f50f11c4389e8ec1c3bc9 /warthog.lua
parent3776506b2fe33920a3f33d8f4441ccc2b6a6a2ab (diff)
added ability to protect tamed animals
Diffstat (limited to 'warthog.lua')
-rw-r--r--warthog.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/warthog.lua b/warthog.lua
index e9cfbb6..75c0713 100644
--- a/warthog.lua
+++ b/warthog.lua
@@ -51,6 +51,7 @@ mobs:register_mob("mobs_animal:pumba", {
return
end
+ mobs:protect(self, clicker)
mobs:capture_mob(self, clicker, 0, 5, 50, false, nil)
end,
})