Update LiquidModule.java

This commit is contained in:
Anuken
2020-08-30 08:58:53 -05:00
committed by GitHub
parent d40cff0741
commit e41b17543f

View File

@@ -43,6 +43,8 @@ public class LiquidModule extends BlockModule{
/** @return current liquid's flow rate in u/s; any value < 0 means 'not ready'. */
public float getFlowRate(){
//low throughput means no display
if(currentFlowRate < 0.0001) return -1f;
return currentFlowRate * 60;
}