From 5ca9f141c6b61eb74c0491aa7b7fc328d6b7405e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 21 Feb 2017 23:17:26 +0100 Subject: [PATCH] Don't allow to collect cow/chicken/pick They were able to be collectable with rightclick with the hand when they were tamed --- mods/ENTITIES/mobs_mc/chicken.lua | 2 -- mods/ENTITIES/mobs_mc/cow.lua | 2 -- mods/ENTITIES/mobs_mc/pig.lua | 1 - 3 files changed, 5 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/chicken.lua b/mods/ENTITIES/mobs_mc/chicken.lua index a9a2e1b4f0..fd7616d925 100644 --- a/mods/ENTITIES/mobs_mc/chicken.lua +++ b/mods/ENTITIES/mobs_mc/chicken.lua @@ -95,8 +95,6 @@ mobs:register_mob("mobs_mc:chicken", { if mobs:feed_tame(self, clicker, 8, true, true) then return end - - mobs:capture_mob(self, clicker, 30, 50, 80, false, nil) end, do_custom = function(self) diff --git a/mods/ENTITIES/mobs_mc/cow.lua b/mods/ENTITIES/mobs_mc/cow.lua index ddb37b505a..20867b075d 100644 --- a/mods/ENTITIES/mobs_mc/cow.lua +++ b/mods/ENTITIES/mobs_mc/cow.lua @@ -120,8 +120,6 @@ mobs:register_mob("mobs_mc:cow", { return end - - mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) end, }) diff --git a/mods/ENTITIES/mobs_mc/pig.lua b/mods/ENTITIES/mobs_mc/pig.lua index c6bf18bf85..9636a98746 100644 --- a/mods/ENTITIES/mobs_mc/pig.lua +++ b/mods/ENTITIES/mobs_mc/pig.lua @@ -129,7 +129,6 @@ mobs:register_mob("mobs_mc:pig", { if mobs:feed_tame(self, clicker, 8, true, true) then return end - mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) end, })