summaryrefslogtreecommitdiff
path: root/chicken.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 /chicken.lua
parent3776506b2fe33920a3f33d8f4441ccc2b6a6a2ab (diff)
added ability to protect tamed animals
Diffstat (limited to 'chicken.lua')
-rw-r--r--chicken.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/chicken.lua b/chicken.lua
index 6b3a2bf..ad2f722 100644
--- a/chicken.lua
+++ b/chicken.lua
@@ -56,6 +56,7 @@ mobs:register_mob("mobs_animal:chicken", {
return
end
+ mobs:protect(self, clicker)
mobs:capture_mob(self, clicker, 30, 50, 80, false, nil)
end,