fix blocks with flat lighting

This commit is contained in:
octarine-noise
2021-05-29 23:27:20 +02:00
parent 14a8600552
commit 4ebb7f2d35

View File

@@ -36,6 +36,6 @@ public class MixinBlockModelRenderer {
if (model instanceof SpecialRenderModel)
return RenderCtxVanilla.render(renderer, world, (SpecialRenderModel) model, state, pos, matrixStack, buffer, checkSides, random, rand, combinedOverlay, modelData, false);
else
return renderer.renderModelSmooth(world, model, state, pos, matrixStack, buffer, checkSides, random, rand, combinedOverlay, modelData);
return renderer.renderModelFlat(world, model, state, pos, matrixStack, buffer, checkSides, random, rand, combinedOverlay, modelData);
}
}