Fix custom water blocks not making grass->dirt

This commit is contained in:
UnknownShadow200 2017-11-19 11:04:52 +11:00
parent 0a5c55619b
commit 55926fe9f9

View File

@ -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);
}
}