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