Fix sheep texture when wool regrows after feeding
This commit is contained in:
parent
34af645448
commit
e6fb914ced
@ -126,6 +126,13 @@ mobs:register_mob(
|
|||||||
|
|
||||||
-- Are we feeding?
|
-- Are we feeding?
|
||||||
if mobs:feed_tame(self, clicker, 8, true) then
|
if mobs:feed_tame(self, clicker, 8, true) then
|
||||||
|
-- Update wool status if gotten got false
|
||||||
|
if self.gotten == false then
|
||||||
|
self.object:set_properties({
|
||||||
|
textures = {"mobs_sheep.png"},
|
||||||
|
mesh = "mobs_sheep.x",
|
||||||
|
})
|
||||||
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user