This commit is contained in:
asiekierka 2016-03-12 12:40:30 +01:00
parent ec901daad1
commit 1bea08f8e5

View file

@ -201,7 +201,7 @@ public final class FacadeRenderHelper {
textureManager.getTextureState().set(BuildCraftTransport.instance.pipeIconProvider.getIcon(PipeIconProvider.TYPE.PipeStructureCobblestone.ordinal())); // Structure Pipe
// Always render connectors in pass 0
if (renderPass == 0 && !pluggable.isHollow() && renderBlock.getMaterial().isOpaque()) {
if (renderPass == 0 && !pluggable.isHollow() && renderBlock != null && renderBlock.getMaterial().isOpaque()) {
float[][] rotated = MatrixTranformations.deepClone(zeroStateSupport);
MatrixTranformations.transform(rotated, direction);