Fix onConnectionClosed not being called on the client side of a connection

This commit is contained in:
Christian 2012-09-09 11:29:08 -04:00
parent 74343a0cff
commit 0de240c4fe

View file

@ -48,7 +48,15 @@
this.func_72552_c(new Packet204ClientInfo(this.field_72563_h.field_71474_y.field_74363_ab, this.field_72563_h.field_71474_y.field_74339_e, this.field_72563_h.field_71474_y.field_74343_n, this.field_72563_h.field_71474_y.field_74344_o, this.field_72563_h.field_71474_y.field_74318_M));
}
@@ -605,6 +613,7 @@
@@ -566,6 +574,7 @@
{
this.field_72555_g.func_74429_a(p_72546_1_);
this.field_72555_g.func_74423_d();
+ FMLNetworkHandler.onConnectionClosed(this.field_72555_g);
}
}
@@ -605,6 +614,7 @@
public void func_72481_a(Packet3Chat p_72481_1_)
{
@ -56,7 +64,7 @@
this.field_72563_h.field_71456_v.func_73827_b().func_73765_a(p_72481_1_.field_73476_b);
}
@@ -1066,6 +1075,11 @@
@@ -1066,6 +1076,11 @@
public void func_72494_a(Packet131MapData p_72494_1_)
{
@ -68,7 +76,7 @@
if (p_72494_1_.field_73438_a == Item.field_77744_bd.field_77779_bT)
{
ItemMap.func_77874_a(p_72494_1_.field_73436_b, this.field_72563_h.field_71441_e).func_76192_a(p_72494_1_.field_73437_c);
@@ -1166,6 +1180,11 @@
@@ -1166,6 +1181,11 @@
}
public void func_72501_a(Packet250CustomPayload p_72501_1_)
@ -80,7 +88,7 @@
{
if ("MC|TPack".equals(p_72501_1_.field_73630_a))
{
@@ -1211,4 +1230,20 @@
@@ -1211,4 +1231,20 @@
{
return this.field_72555_g;
}