From 0703b8b4f2e9e1ad494dd391b0cf354f4441333f Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 13 Dec 2018 19:03:53 +0000 Subject: [PATCH] fix cow and sheep taming bug --- cow.lua | 2 -- sheep.lua | 1 - 2 files changed, 3 deletions(-) diff --git a/cow.lua b/cow.lua index a2ea9d7..ec44b90 100644 --- a/cow.lua +++ b/cow.lua @@ -64,8 +64,6 @@ mobs:register_mob("mobs_animal:cow", { -- if fed 7x wheat or grass then cow can be milked again if self.food > 6 then - - self.food = 0 self.gotten = false end diff --git a/sheep.lua b/sheep.lua index 535a07d..d15d68f 100644 --- a/sheep.lua +++ b/sheep.lua @@ -97,7 +97,6 @@ stepheight = 0.6, --if fed 7x grass or wheat then sheep regrows wool if self.food > 6 then - self.food = 0 self.gotten = false self.object:set_properties({