mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Fix tamed ocelot textures not being set correctly
This commit is contained in:
parent
93c9fdfaae
commit
a7fac7c550
@ -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 New Issue
Block a user