From 55926fe9f9ede1dac3dd188b9609e4b80576bbdb Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 19 Nov 2017 11:04:52 +1100 Subject: [PATCH] Fix custom water blocks not making grass->dirt --- MCGalaxy/Levels/Level.Blocks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Levels/Level.Blocks.cs b/MCGalaxy/Levels/Level.Blocks.cs index 763080226..3f78af2e5 100644 --- a/MCGalaxy/Levels/Level.Blocks.cs +++ b/MCGalaxy/Levels/Level.Blocks.cs @@ -461,7 +461,7 @@ namespace MCGalaxy { public bool LightPasses(ExtBlock block) { BlockDefinition def = GetBlockDef(block); - if (def != null) return !def.BlocksLight || def.BlockDraw != DrawType.Opaque || def.MinZ > 0; + if (def != null) return !def.BlocksLight || def.BlockDraw == DrawType.TransparentThick || def.MinZ > 0; return Block.LightPass(block.BlockID); } }