Fix all guis closing as soon as they are opened (#3013)

This commit is contained in:
mezz 2016-06-23 04:25:24 -07:00 committed by cpw
parent 09e109cac0
commit 254cf8bb23
1 changed files with 1 additions and 1 deletions

View File

@ -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;