1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2025-07-23 18:40:25 +02:00

fix baby sheep horn issue, update licenses

This commit is contained in:
tenplus1
2024-04-22 07:56:54 +01:00
parent 808bbf82e9
commit dc43a7505c
2 changed files with 4 additions and 1 deletions

View File

@ -217,6 +217,8 @@ for _, col in ipairs(all_colours) do
-- fix any issue with horns by re-checking
on_spawn = function(self)
if self.child then return end -- baby sheep dont have horns
local textures = horn_texture_sel(self.attribute_horns, self.gotten)
self.object:set_properties({textures = {textures}})