mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Merge pull request 'Fix tamed ocelot textures not being set correctly' (#3317) from tamed_cat_texture_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3317 Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
This commit is contained in:
commit
876fc2fb50
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ cat.on_spawn = function(self)
|
|||
if not self._texture then
|
||||
self._texture = cat.textures[math.random(#cat.textures)]
|
||||
end
|
||||
self.object:set_properties({textures = {self._texture}})
|
||||
self.object:set_properties({textures = self._texture})
|
||||
end
|
||||
|
||||
mcl_mobs.register_mob("mobs_mc:cat", cat)
|
||||
|
|
Loading…
Reference in a new issue