Merge pull request #2161 from The-Fireplace/master
Fixed a bug with GuiConfigEntries.SelectValueEntry
This commit is contained in:
commit
bdbcf31fc2
1 changed files with 5 additions and 1 deletions
|
@ -82,7 +82,11 @@ public class GuiSelectString extends GuiScreen
|
||||||
this.titleLine2 = ((GuiConfig) parentScreen).titleLine2;
|
this.titleLine2 = ((GuiConfig) parentScreen).titleLine2;
|
||||||
this.titleLine3 = I18n.format(configElement.getLanguageKey());
|
this.titleLine3 = I18n.format(configElement.getLanguageKey());
|
||||||
this.tooltipHoverChecker = new HoverChecker(28, 37, 0, parentScreen.width, 800);
|
this.tooltipHoverChecker = new HoverChecker(28, 37, 0, parentScreen.width, 800);
|
||||||
|
if(titleLine3 != null && titleLine2 == null)
|
||||||
|
{
|
||||||
|
((GuiConfig) parentScreen).titleLine2 = "";
|
||||||
|
this.titleLine2 = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue