Fixed boat hud config

This commit is contained in:
lukasabbe
2026-02-11 10:49:49 +01:00
parent 910e98500b
commit bd682df87d
6 changed files with 25 additions and 5 deletions
@@ -1,6 +1,7 @@
package com.lukasabbe.simplehud.huds;
import com.lukasabbe.simplehud.Constants;
import com.lukasabbe.simplehud.config.Config;
import com.lukasabbe.simplehud.tools.BoatTools;
import net.minecraft.client.DeltaTracker;
import net.minecraft.client.gui.GuiGraphics;
@@ -45,7 +46,7 @@ public class BoatHud implements SimpleHud {
//Draw speed
int speedTextY = 15;
renderCenteredScaledText(graphics, getSpeed(), x + textX, y + speedTextY, whiteColor, textScale);
renderCenteredScaledText(graphics, getSpeed(Config.HANDLER.instance().speedEnumBoat), x + textX, y + speedTextY, whiteColor, textScale);
//Draw coordinates
int coordinatesTextY = 25;