mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fixed unforeseen NPE
This commit is contained in:
1 parent
9e1f038c16
commit
e625622b6e
1 file changed
+1
-1
@@ -64,7 +64,7 @@
|
||||
+ this.field_146290_a = event.button;
|
||||
+ event.button.func_146113_a(this.field_146297_k.func_147118_V());
|
||||
+ this.func_146284_a(event.button);
|
||||
+ if (this.field_146297_k.field_71462_r.equals(this))
|
||||
+ if (this.equals(this.field_146297_k.field_71462_r))
|
||||
+ MinecraftForge.EVENT_BUS.post(new ActionPerformedEvent.Post(this, event.button, this.field_146292_n));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user