SirSengir/BuildCraft — pull request #476 by denoflionsx (2012-12-03 00:38:37+00:00)
Title: Fixes RenderPipe crash if custom pipe has a higher capacity than 250.

I talked to CovertJaguar about this in IRC.

Currently the rendering is hardcoded for a capacity of 250. This makes the Industrial Pipes in my Valve Pipe mod crash. This PR replaces the references to LIQUID_IN_PIPE in RenderPipe to liq.getTanks(ForgeDirection.UNKNOWN)[0].getCapacity(). This shouldn't change anything for default BC pipes but will ensure that custom ones don't break the rendering.