Reborn Core is a library used for many of the Tech Reborn team's mods, including Tech Reborn, Quantum Storage, Fluxed Redstone, Hardcore Map Reset, and many more.
MIT License
44
stars
51
forks
source link
Powersystem getRoundedString returns incorrect value #139
powersystem does a straight division value = euValue / 1000; on line 95
which will cause the number to round up when over 5. This leads to 9.9k showing as 10.9k.
This can be fixed with Math.floor(euValue / 1000); instead
powersystem does a straight division
value = euValue / 1000;
online 95
which will cause the number to round up when over 5. This leads to 9.9k showing as 10.9k.This can be fixed with
Math.floor(euValue / 1000);
instead