Fix style issues from other commits
This commit is contained in:
parent
25d8785e88
commit
5c828301bc
|
@ -36,7 +36,7 @@ public class RenderTank extends TileEntitySpecialRenderer {
|
|||
|
||||
// Workaround: The colorRenderCache from the server tile from getServerTile(...) does not get synced properly
|
||||
int color;
|
||||
if(tank.getWorldObj().isRemote) {
|
||||
if (tank.getWorldObj().isRemote) {
|
||||
color = tank.tank.colorRenderCache;
|
||||
} else {
|
||||
color = liquid.getFluid().getColor(liquid);
|
||||
|
|
|
@ -184,7 +184,9 @@ public class PipeTransportFluidsRenderer extends PipeTransportRenderer<PipeTrans
|
|||
return;
|
||||
}
|
||||
|
||||
if(pipe.container == null) return;
|
||||
if (pipe.container == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
GL11.glPushMatrix();
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
|
|
Loading…
Reference in a new issue