Patched BlockInfo#updateLightMatrix to use IBlockState#doesSideBlockRendering instead of Block#doesSideBlockRendering (#4798)
This commit is contained in:
parent
6ed2879842
commit
4242f89c75
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class BlockInfo
|
||||||
}
|
}
|
||||||
for(EnumFacing side : SIDES)
|
for(EnumFacing side : SIDES)
|
||||||
{
|
{
|
||||||
if(!state.getBlock().doesSideBlockRendering(state, world, blockPos, side))
|
if(!state.doesSideBlockRendering(world, blockPos, side))
|
||||||
{
|
{
|
||||||
int x = side.getFrontOffsetX() + 1;
|
int x = side.getFrontOffsetX() + 1;
|
||||||
int y = side.getFrontOffsetY() + 1;
|
int y = side.getFrontOffsetY() + 1;
|
||||||
|
|
Loading…
Reference in a new issue