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()
|
item:take_item()
|
||||||
clicker:set_wielded_item(item)
|
clicker:set_wielded_item(item)
|
||||||
self._has_chest = true
|
self._has_chest = true
|
||||||
|
self.textures[1] = "mcl_chests_normal.png"
|
||||||
|
self.object:set_properties({textures = self.textures})
|
||||||
else
|
else
|
||||||
-- Feed with anything else
|
-- Feed with anything else
|
||||||
if mcl_mobs:feed_tame(self, clicker, 1, false, true) then return end
|
if mcl_mobs:feed_tame(self, clicker, 1, false, true) then return end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user