diff options
author | miozune <miozune@gmail.com> | 2023-01-21 02:59:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 18:59:05 +0100 |
commit | 10271699b275526fc9150caa0543848fd024c22a (patch) | |
tree | 574199ea0a3b3963a8b841686f592b73ec0bf76d | |
parent | 7761f24d7b2bda22c3178e714ce53c388f6ca69f (diff) | |
download | GT5-Unofficial-10271699b275526fc9150caa0543848fd024c22a.tar.gz GT5-Unofficial-10271699b275526fc9150caa0543848fd024c22a.tar.bz2 GT5-Unofficial-10271699b275526fc9150caa0543848fd024c22a.zip |
Fix percentage display for PSS (#508)
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java index 07518b7ea9..58579164a1 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java @@ -907,7 +907,7 @@ public class GregtechMetaTileEntity_PowerSubStationController .color(Utils.rgbtoHexValue((255 - colorScale), colorScale, 0)); }) .setPos(10, 142)) - .widget(TextWidget.dynamicString(() -> GT_Utility.formatNumbers(getProgress()) + "%") + .widget(TextWidget.dynamicString(() -> GT_Utility.formatNumbers(getProgress() * 100) + "%") .setDefaultColor(COLOR_TEXT_WHITE.get()) .setPos(70, 155)); } |