CTM: Fix "flipped" value not set to false in setFace() (#1913)

This commit is contained in:
tiffit authored and GitHub committed 2026-07-05 18:24:28 -07:00
1 parent cc1353b73a
commit 79c488102b
1 file changed
+1 -1
@@ -212,7 +212,7 @@ final class BlockOrientation extends RenderBlockState {
rotateUV = 0;
textureFace = blockFaceToTextureFace(blockFace);
metadataBits = (1 << metadata) | (1 << altMetadata);
if(!fixedBottomFaceUV && blockFace == ForgeDirection.DOWN.ordinal()) flipped = true;
flipped = !fixedBottomFaceUV && blockFace == ForgeDirection.DOWN.ordinal();
}
void setBlockMetadata(Block block, int metadata, int face) {