13 lines
491 B
Diff
13 lines
491 B
Diff
--- a/net/minecraft/client/gui/achievement/GuiStats.java
|
|
+++ b/net/minecraft/client/gui/achievement/GuiStats.java
|
|
@@ -122,8 +122,8 @@
|
|
public void func_193026_g() {
|
|
if (this.field_146543_v) {
|
|
this.func_193028_a();
|
|
- this.func_193029_f();
|
|
this.field_146545_u = this.field_146550_h;
|
|
+ this.func_193029_f(); //Forge: Bugfix, initButtons adds displaySlot to children, so set it first to prevent NPE
|
|
this.field_146543_v = false;
|
|
}
|
|
|