This commit is contained in:
Anuken
2022-10-21 23:18:06 -04:00
parent 9d06658139
commit 0fd6de8cb0
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ public class HeatConductor extends Block{
super.setBars();
//TODO show number
addBar("heat", (HeatConductorBuild entity) -> new Bar(() -> Core.bundle.format("bar.heatamount", (int)entity.heat), () -> Pal.lightOrange, () -> entity.heat / visualMaxHeat));
addBar("heat", (HeatConductorBuild entity) -> new Bar(() -> Core.bundle.format("bar.heatamount", (int)(entity.heat + 0.001f)), () -> Pal.lightOrange, () -> entity.heat / visualMaxHeat));
}
@Override