Fixed a bug that caused the config option name to overlap with the selectable values when using GuiConfigEntries.SelectValueEntry, fixes #2114

This commit is contained in:
The_Fireplace committed 2015-10-31 18:28:29 -05:00
1 parent 12e6fe9db7
commit 6dc50ace6b
1 file changed
+5 -1
@@ -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
{