diff --git a/src/main/java/de/hysky/skyblocker/skyblock/slayers/hud/SlayerHudWidget.java b/src/main/java/de/hysky/skyblocker/skyblock/slayers/hud/SlayerHudWidget.java index 2575963ee2..b974fff13e 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/slayers/hud/SlayerHudWidget.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/slayers/hud/SlayerHudWidget.java @@ -6,7 +6,6 @@ import de.hysky.skyblocker.skyblock.tabhud.util.Ico; import de.hysky.skyblocker.skyblock.tabhud.widget.Widget; import net.minecraft.client.MinecraftClient; -import net.minecraft.text.MutableText; import net.minecraft.text.Text; import net.minecraft.util.Formatting; @@ -14,12 +13,11 @@ public class SlayerHudWidget extends Widget { public static final SlayerHudWidget INSTANCE = new SlayerHudWidget(); - private static final MutableText TITLE = Text.literal("Slayer").formatted(Formatting.DARK_PURPLE, Formatting.BOLD); private final MinecraftClient client = MinecraftClient.getInstance(); private final NumberFormat numberFormat = NumberFormat.getInstance(); public SlayerHudWidget() { - super(TITLE, Formatting.DARK_PURPLE.getColorValue()); + super(Text.literal("Slayer").formatted(Formatting.DARK_PURPLE, Formatting.BOLD), Formatting.DARK_PURPLE.getColorValue()); setX(SkyblockerConfigManager.get().slayers.slayerHud.x); setY(SkyblockerConfigManager.get().slayers.slayerHud.y); update();