Fix low liquids amounts in smelteries flickering sometimes #1134

This commit is contained in:
Bernhard Bonigl committed 2014-11-02 16:44:46 +01:00
1 parent 4b145828cd
commit dc439705e6
1 file changed
+3
@@ -77,6 +77,9 @@ public class SmelteryRender implements ISimpleBlockRenderingHandler
base += height;
liquidBase += countSize;
if(renderHeight < 0.01)
renderHeight = 0.01f;
renderer.setRenderBounds(0, renderBase, 0, 1, renderHeight, 1);
Fluid fluid = liquid.getFluid();
for (int xi = from.x; xi <= to.x; xi++)