mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
Bug fix
This commit is contained in:
parent
820da70e5f
commit
915cfc45a5
@ -62,14 +62,14 @@ public class RenderRBMKNumitron extends TileEntitySpecialRenderer {
|
|||||||
// Overflow handling
|
// Overflow handling
|
||||||
if (unit.value > 9999999) {
|
if (unit.value > 9999999) {
|
||||||
value = "9999999";
|
value = "9999999";
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
// Underflow handling
|
// Underflow handling
|
||||||
if (unit.value < -999999) {
|
else if (unit.value < -999999) {
|
||||||
value = "-999999";
|
value = "-999999";
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
value = Long.toString(unit.value);
|
else {
|
||||||
|
value = Long.toString(unit.value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//** Fill up to 7 characters */
|
//** Fill up to 7 characters */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user