mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Set llama chest texture when equipping chest
This commit is contained in:
parent
673f970fb3
commit
ae71b19ede
@ -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 New Issue
Block a user