ChatboxTextMenuInput: return this from build

Otherwise you have to copy during the build chain to check if it is active
This commit is contained in:
Max Weber
2018-10-22 21:38:22 -06:00
parent ff5290b5d1
commit e7d97ae38a

View File

@@ -87,7 +87,7 @@ public class ChatboxTextMenuInput extends ChatboxInput implements KeyListener
return this;
}
public void build()
public ChatboxTextMenuInput build()
{
if (title == null)
{
@@ -100,6 +100,7 @@ public class ChatboxTextMenuInput extends ChatboxInput implements KeyListener
}
chatboxPanelManager.openInput(this);
return this;
}
@Override