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:
@ -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}})
|
||||
|
Reference in New Issue
Block a user