This commit is contained in:
RudideC
2026-02-24 09:19:17 +01:00
parent 77f5350496
commit 09c354337d
@@ -34,7 +34,7 @@ public class HealthDisplay extends Module implements HudMod {
@Override @Override
public void renderDummy(RenderScope scope) { public void renderDummy(RenderScope scope) {
renderSpeed(10, scope); renderHealth(10, scope);
} }
@Override @Override
@@ -44,10 +44,10 @@ public class HealthDisplay extends Module implements HudMod {
case 1: case 1:
health = health / 2; health = health / 2;
} }
renderSpeed(health, scope); renderHealth(health, scope);
} }
public void renderSpeed(float health, RenderScope scope) { public void renderHealth(float health, RenderScope scope) {
String text = ""; String text = "";
switch (decimals.value) { switch (decimals.value) {