mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
* Fix lapis lazuli block textures being weird when metal_block_sides is true.
This commit is contained in:
@@ -21,7 +21,7 @@ MetalTile::MetalTile(int ID, int texture, Material* pMtl) : Tile(ID, pMtl)
|
||||
int MetalTile::getTexture(int dir)
|
||||
{
|
||||
int yoff = GetPatchManager()->GetMetalSideYOffset();
|
||||
if (yoff < 0)
|
||||
if (yoff < 0 || m_ID == Tile::lapisBlock->m_ID)
|
||||
return m_TextureFrame;
|
||||
|
||||
if (dir == DIR_YPOS) return m_TextureFrame;
|
||||
|
||||
Reference in New Issue
Block a user