mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix low liquids amounts in smelteries flickering sometimes #1134
This commit is contained in:
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++)
|
||||
|
||||
Reference in new issue
Block a user