mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Fix sheep not regrowing wool after eating
This commit is contained in:
parent
e53b6c124c
commit
e49eac6d85
@ -126,7 +126,7 @@ mcl_mobs.register_mob("mobs_mc:sheep", {
|
||||
self:set_velocity(0)
|
||||
minetest.after(self.replace_delay, function()
|
||||
self.object:set_velocity(vector.zero())
|
||||
if self and self.object and not self.object:get_velocity() and self.health > 0 then
|
||||
if self and self.object and self.object:get_velocity() and self.health > 0 then
|
||||
if not self.color or not colors[self.color] then
|
||||
self.color = "unicolor_white"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user