Cassiobsk8 / Industrial_Renewal

Minecraft mod
28 stars 14 forks source link

Fixed incorrect clamping formula #122

Closed RRyyas closed 3 years ago

RRyyas commented 3 years ago

This should clamp values between 0 when the value is less or equal than the min value, and 1 when the value is more or equal than the max value. Noticed that something was wrong with the steam boiler when it produced thousands of mb of steam per tick because the factor was over 1000, caused by incorrect placement of the division symbol in the clamping formula.