1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-11-10 20:50:22 +01:00

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 fed 7x wheat or grass then cow can be milked again
if self.food > 6 then if self.food > 6 then
self.food = 0
self.gotten = false self.gotten = false
end end

View File

@ -97,7 +97,6 @@ stepheight = 0.6,
--if fed 7x grass or wheat then sheep regrows wool --if fed 7x grass or wheat then sheep regrows wool
if self.food > 6 then if self.food > 6 then
self.food = 0
self.gotten = false self.gotten = false
self.object:set_properties({ self.object:set_properties({