Don't allow to collect cow/chicken/pick
They were able to be collectable with rightclick with the hand when they were tamedobjects
parent
27ee14b291
commit
5ca9f141c6
|
@ -95,8 +95,6 @@ mobs:register_mob("mobs_mc:chicken", {
|
||||||
if mobs:feed_tame(self, clicker, 8, true, true) then
|
if mobs:feed_tame(self, clicker, 8, true, true) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
mobs:capture_mob(self, clicker, 30, 50, 80, false, nil)
|
|
||||||
end,
|
end,
|
||||||
|
|
||||||
do_custom = function(self)
|
do_custom = function(self)
|
||||||
|
|
|
@ -120,8 +120,6 @@ mobs:register_mob("mobs_mc:cow", {
|
||||||
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
mobs:capture_mob(self, clicker, 0, 5, 60, false, nil)
|
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,6 @@ mobs:register_mob("mobs_mc:pig", {
|
||||||
if mobs:feed_tame(self, clicker, 8, true, true) then
|
if mobs:feed_tame(self, clicker, 8, true, true) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
mobs:capture_mob(self, clicker, 0, 5, 50, false, nil)
|
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue