aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-19 18:38:28 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-19 18:38:28 +0100
commit7e6a4047e4cd7ac168289e6aa2dc1237ec07bcec (patch)
tree5dc238c948b8005b2987421a7338f4a7845bdfad
parentd9f4ff0347639778b41b00b070e17df115ddbc0f (diff)
downloadskyhanni-7e6a4047e4cd7ac168289e6aa2dc1237ec07bcec.tar.gz
skyhanni-7e6a4047e4cd7ac168289e6aa2dc1237ec07bcec.tar.bz2
skyhanni-7e6a4047e4cd7ac168289e6aa2dc1237ec07bcec.zip
Fixed size of mod title in config
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigEditor.java b/src/main/java/at/hannibal2/skyhanni/config/ConfigEditor.java
index 2d50958ad..f0e4398d5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigEditor.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigEditor.java
@@ -270,7 +270,8 @@ public class ConfigEditor extends GuiElement {
GuiRenderUtils.drawFloatingRectDark(x + 5, y + 5, xSize - 10, 20, false);
FontRenderer fr = Minecraft.getMinecraft().fontRendererObj;
- TextRenderUtils.drawStringCenteredScaledMaxWidth("SkyHanni " + SkyHanniMod.VERSION + " by " + EnumChatFormatting.RED + "hannibal2" + EnumChatFormatting.RESET + ", config by " + EnumChatFormatting.DARK_PURPLE + "Moulberry", fr, x + xSize / 2f, y + 15, false, 200, 0xa0a0a0);
+ String text = "SkyHanni " + SkyHanniMod.VERSION + " by §channibal2§r, config by §5Moulberry";
+ TextRenderUtils.drawStringCenteredScaledMaxWidth(text, fr, x + xSize / 2f, y + 15, false, 400, 0xa0a0a0);
GuiRenderUtils.drawFloatingRectDark(x + 4, y + 49 - 20,
140, ySize - 54 + 20, false
);