Fix inverted case, search works now.

This commit is contained in:
LexManos 2013-08-11 16:01:27 -07:00
parent 97f6138cf8
commit b0f4497bbe

View file

@ -37,7 +37,7 @@
protected void keyTyped(char par1, int par2) protected void keyTyped(char par1, int par2)
{ {
- if (selectedTabIndex != CreativeTabs.tabAllSearch.getTabIndex()) - if (selectedTabIndex != CreativeTabs.tabAllSearch.getTabIndex())
+ if (CreativeTabs.creativeTabArray[selectedTabIndex].hasSearchBar()) + if (!CreativeTabs.creativeTabArray[selectedTabIndex].hasSearchBar())
{ {
if (GameSettings.isKeyDown(this.mc.gameSettings.keyBindChat)) if (GameSettings.isKeyDown(this.mc.gameSettings.keyBindChat))
{ {