This commit is contained in:
DaSH 2026-05-01 00:26:59 +02:00
parent 820da70e5f
commit 915cfc45a5

View File

@ -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 */