summaryrefslogtreecommitdiff
path: root/sheep.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 /sheep.lua
parent3776506b2fe33920a3f33d8f4441ccc2b6a6a2ab (diff)
added ability to protect tamed animals
Diffstat (limited to 'sheep.lua')
-rw-r--r--sheep.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/sheep.lua b/sheep.lua
index 465321c..20ce8e0 100644
--- a/sheep.lua
+++ b/sheep.lua
@@ -165,6 +165,9 @@ for _, col in pairs(all_colours) do
return
end
+ -- protect mod with mobs:protector item
+ mobs:protect(self, clicker)
+
--are we capturing?
mobs:capture_mob(self, clicker, 0, 5, 60, false, nil)
end