mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Set llama chest texture when equipping chest
This commit is contained in:
parent
673f970fb3
commit
ae71b19ede
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ mcl_mobs:register_mob("mobs_mc:llama", {
|
|||
item:take_item()
|
||||
clicker:set_wielded_item(item)
|
||||
self._has_chest = true
|
||||
self.textures[1] = "mcl_chests_normal.png"
|
||||
self.object:set_properties({textures = self.textures})
|
||||
else
|
||||
-- Feed with anything else
|
||||
if mcl_mobs:feed_tame(self, clicker, 1, false, true) then return end
|
||||
|
|
Loading…
Reference in a new issue