fix cow and sheep taming bug

This commit is contained in:
TenPlus1 2018-12-13 19:03:53 +00:00
parent e307db5df0
commit 0703b8b4f2
2 changed files with 0 additions and 3 deletions

View File

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

View File

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