fix ignored snowed leaves config

This commit is contained in:
octarine-noise
2021-07-26 23:32:02 +02:00
parent d2b9326ced
commit 0b802663dc

View File

@@ -78,7 +78,7 @@ class StandardLeafModel(
ctx.vertexLighter = RoundLeafLightingPreferUp
val leafIdx = ctx.random.nextInt(64)
ctx.renderQuads(leafNormal[leafIdx])
if (ctx.state(UP).isSnow) ctx.renderQuads(leafSnowed[leafIdx])
if (Config.leaves.snowEnabled && ctx.state(UP).isSnow) ctx.renderQuads(leafSnowed[leafIdx])
}
}