Adds FluidStack color to pipes Render

This commit is contained in:
Soaryn 2013-08-03 22:02:40 -04:00
parent cb8a139f01
commit 89980dceb2

View file

@ -368,6 +368,7 @@ public class RenderPipe extends TileEntitySpecialRenderer {
default:
}
func_110628_a(TextureMap.field_110575_b);
FluidRenderer.colorFluid(liquid);
GL11.glCallList(list);
GL11.glPopMatrix();
}
@ -382,6 +383,7 @@ public class RenderPipe extends TileEntitySpecialRenderer {
int stage = (int) ((float) liquid.amount / (float) (trans.getCapacity()) * (LIQUID_STAGES - 1));
func_110628_a(TextureMap.field_110575_b);
FluidRenderer.colorFluid(liquid);
if (above) {
GL11.glCallList(d.centerVertical[stage]);