Fixed placement of onConnectionClosed callback.
This commit is contained in:
parent
909b629fa4
commit
c5a1b58d85
1 changed files with 13 additions and 5 deletions
|
@ -46,15 +46,23 @@
|
||||||
this.field_72563_h.field_71474_y.func_82879_c();
|
this.field_72563_h.field_71474_y.func_82879_c();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -750,6 +757,7 @@
|
@@ -711,6 +718,7 @@
|
||||||
|
{
|
||||||
|
this.field_72555_g.func_74429_a(p_72546_1_);
|
||||||
|
this.field_72555_g.func_74423_d();
|
||||||
|
+ FMLNetworkHandler.onConnectionClosed(this.field_72555_g, this.getPlayer());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -750,6 +758,7 @@
|
||||||
|
|
||||||
public void func_72481_a(Packet3Chat p_72481_1_)
|
public void func_72481_a(Packet3Chat p_72481_1_)
|
||||||
{
|
{
|
||||||
+ FMLNetworkHandler.onConnectionClosed(this.field_72555_g, this.getPlayer());
|
+ p_72481_1_ = FMLNetworkHandler.handleChatMessage(this, p_72481_1_);
|
||||||
this.field_72563_h.field_71456_v.func_73827_b().func_73765_a(p_72481_1_.field_73476_b);
|
this.field_72563_h.field_71456_v.func_73827_b().func_73765_a(p_72481_1_.field_73476_b);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1243,6 +1251,11 @@
|
@@ -1243,6 +1252,11 @@
|
||||||
|
|
||||||
public void func_72494_a(Packet131MapData p_72494_1_)
|
public void func_72494_a(Packet131MapData p_72494_1_)
|
||||||
{
|
{
|
||||||
|
@ -66,7 +74,7 @@
|
||||||
if (p_72494_1_.field_73438_a == Item.field_77744_bd.field_77779_bT)
|
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);
|
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);
|
||||||
@@ -1352,6 +1365,11 @@
|
@@ -1352,6 +1366,11 @@
|
||||||
|
|
||||||
public void func_72501_a(Packet250CustomPayload p_72501_1_)
|
public void func_72501_a(Packet250CustomPayload p_72501_1_)
|
||||||
{
|
{
|
||||||
|
@ -78,7 +86,7 @@
|
||||||
if ("MC|TPack".equals(p_72501_1_.field_73630_a))
|
if ("MC|TPack".equals(p_72501_1_.field_73630_a))
|
||||||
{
|
{
|
||||||
String[] var2 = (new String(p_72501_1_.field_73629_c)).split("\u0000");
|
String[] var2 = (new String(p_72501_1_.field_73629_c)).split("\u0000");
|
||||||
@@ -1396,4 +1414,20 @@
|
@@ -1396,4 +1415,20 @@
|
||||||
{
|
{
|
||||||
return this.field_72555_g;
|
return this.field_72555_g;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue