Fixed gate rendering. Fixes #810

This commit is contained in:
Krapht 2013-04-29 18:13:40 +02:00
parent 4c37a6c7fb
commit 7bbfa6a20c

View file

@ -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