Fix all guis closing as soon as they are opened (#3013)
This commit is contained in:
parent
09e109cac0
commit
254cf8bb23
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
this.field_71070_bA.func_75142_b();
|
||||
|
||||
- if (!this.field_70170_p.field_72995_K && !this.field_71070_bA.func_75145_c(this))
|
||||
+ if (!this.field_70170_p.field_72995_K && this.field_71070_bA != null && this.field_71070_bA.func_75145_c(this))
|
||||
+ if (!this.field_70170_p.field_72995_K && this.field_71070_bA != null && !this.field_71070_bA.func_75145_c(this))
|
||||
{
|
||||
this.func_71053_j();
|
||||
this.field_71070_bA = this.field_71069_bz;
|
||||
|
|
Loading…
Reference in a new issue