From 7bbfa6a20c8c2a3b09278c36941c0ae545b2a8a6 Mon Sep 17 00:00:00 2001 From: Krapht Date: Mon, 29 Apr 2013 18:13:40 +0200 Subject: [PATCH] Fixed gate rendering. Fixes #810 --- common/buildcraft/transport/render/PipeWorldRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/transport/render/PipeWorldRenderer.java b/common/buildcraft/transport/render/PipeWorldRenderer.java index dc481e08..7e98df53 100644 --- a/common/buildcraft/transport/render/PipeWorldRenderer.java +++ b/common/buildcraft/transport/render/PipeWorldRenderer.java @@ -518,7 +518,7 @@ public class PipeWorldRenderer implements ISimpleBlockRenderingHandler { } private boolean shouldRenderNormalPipeSide(PipeRenderState state, ForgeDirection direction){ - return !state.pipeConnectionMatrix.isConnected(direction) && state.facadeMatrix.getFacadeBlockId(direction) != 0; + return !state.pipeConnectionMatrix.isConnected(direction) && state.facadeMatrix.getFacadeBlockId(direction) == 0; } @Override