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

This commit is contained in:
Wyn Price 2018-03-13 23:35:04 +00:00 committed by LexManos
parent 6ed2879842
commit 4242f89c75

View file

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