Duh, after pressing a button it still happened. Not anymore it don't. >__>

This commit is contained in:
Ellpeck 2015-08-31 02:09:34 +02:00
parent 0a77476470
commit dedae49689

View file

@ -114,7 +114,7 @@ public class GuiBooklet extends GuiScreen{
@Override
protected void mouseClicked(int par1, int par2, int par3){
this.searchField.mouseClicked(par1, par2, par3);
if(par3 == 0){
if(par3 == 0 && this.currentChapter != null){
this.mouseClicked = true;
}
super.mouseClicked(par1, par2, par3);