Skip to content

Commit

Permalink
Fix low liquids amounts in smelteries flickering sometimes #1134
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Nov 2, 2014
1 parent 4b14582 commit dc43970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/tconstruct/smeltery/model/SmelteryRender.java
Expand Up @@ -77,6 +77,9 @@ public boolean renderSmeltery (IBlockAccess world, int x, int y, int z, Block bl
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++)
Expand Down

0 comments on commit dc43970

Please sign in to comment.