mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
Comment enhancement
This commit is contained in:
parent
92c86a5719
commit
7707d9e44c
@ -113,6 +113,7 @@ public class RenderRBMKNumitron extends TileEntitySpecialRenderer {
|
||||
}
|
||||
|
||||
//** Fill up to 7 characters */
|
||||
//** For negative numbers when zeroes are added: put the zeroes between the - and hte number */
|
||||
if ((value.length() < 7) && (value.charAt(0) == '-') && (unit.no_leading_zeroes == false)) {
|
||||
value = value.substring(1);
|
||||
while(value.length() < 6) value = "0" + value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user