Patched BlockInfo#updateLightMatrix to use IBlockState#doesSideBlockRendering instead of Block#doesSideBlockRendering (#4798)

This commit is contained in:
Wyn Price authored and LexManos committed 2018-03-13 16:35:04 -07:00
1 parent 6ed2879842
commit 4242f89c75
1 file changed
+1 -1
@@ -123,7 +123,7 @@ public class BlockInfo
}
for(EnumFacing side : SIDES)
{
if(!state.getBlock().doesSideBlockRendering(state, world, blockPos, side))
if(!state.doesSideBlockRendering(world, blockPos, side))
{
int x = side.getFrontOffsetX() + 1;
int y = side.getFrontOffsetY() + 1;