mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Patched BlockInfo#updateLightMatrix to use IBlockState#doesSideBlockRendering instead of Block#doesSideBlockRendering (#4798)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user