From 6dc50ace6bb2ada94f9f19ab36031f089d088922 Mon Sep 17 00:00:00 2001 From: The_Fireplace Date: Sat, 31 Oct 2015 11:06:32 -0500 Subject: [PATCH] Fixed a bug that caused the config option name to overlap with the selectable values when using GuiConfigEntries.SelectValueEntry, fixes #2114 --- .../minecraftforge/fml/client/config/GuiSelectString.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/fml/client/config/GuiSelectString.java b/src/main/java/net/minecraftforge/fml/client/config/GuiSelectString.java index 00f918c0b5..fb519979e0 100644 --- a/src/main/java/net/minecraftforge/fml/client/config/GuiSelectString.java +++ b/src/main/java/net/minecraftforge/fml/client/config/GuiSelectString.java @@ -82,7 +82,11 @@ public class GuiSelectString extends GuiScreen this.titleLine2 = ((GuiConfig) parentScreen).titleLine2; this.titleLine3 = I18n.format(configElement.getLanguageKey()); this.tooltipHoverChecker = new HoverChecker(28, 37, 0, parentScreen.width, 800); - + if(titleLine3 != null && titleLine2 == null) + { + ((GuiConfig) parentScreen).titleLine2 = ""; + this.titleLine2 = ""; + } } else {