1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2025-07-27 04:24:35 +02:00

added ability to protect tamed animals

This commit is contained in:
TenPlus1
2016-11-08 16:11:49 +00:00
parent 3776506b2f
commit 7215a670a8
6 changed files with 11 additions and 2 deletions

View File

@ -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