Attempt to fix snow lighting
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
Submodule coreSubProjects updated: ef21987817...70989a9369
Reference in New Issue
Block a user