Attempt to fix snow lighting

This commit is contained in:
James Seibel
2023-08-18 17:22:39 -05:00
parent 876989346b
commit b254fde3ae
2 changed files with 2 additions and 2 deletions
@@ -80,7 +80,7 @@ public class BlockStateWrapper implements IBlockStateWrapper
public int getOpacity()
{
// this method isn't perfect, but works well enough for our use case
if (this.isAir() || !this.isSolid())
if (this.isAir() || !this.blockState.canOcclude())
{
// completely transparent
return 0;