* Fix lapis lazuli block textures being weird when metal_block_sides is true.

This commit is contained in:
iProgramInCpp
2023-08-10 11:52:22 +03:00
parent ac4369f5b2
commit 0412fd1bc5

View File

@@ -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;