From e6fb914ced093782a95c07c9c98b9afdd110262c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 28 Jul 2023 08:46:08 +0200 Subject: [PATCH] Fix sheep texture when wool regrows after feeding --- mods/mobs/mob_sheep.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mods/mobs/mob_sheep.lua b/mods/mobs/mob_sheep.lua index 5c221e41..8fbfee12 100644 --- a/mods/mobs/mob_sheep.lua +++ b/mods/mobs/mob_sheep.lua @@ -126,6 +126,13 @@ mobs:register_mob( -- Are we feeding? 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 end