Clean up stale references to the Player stored in the NetworkRegistry,

closes #100
This commit is contained in:
Christian committed 2012-09-15 15:36:26 -04:00
1 parent 23c89ec054
commit 09558e9e15
5 files changed
+7 -6

No files matched your search

@@ -13,7 +13,7 @@
if (this.field_74472_n && this.field_74473_o.isEmpty())
{
this.field_74485_r.func_72515_a(this.field_74481_v, this.field_74480_w);
+ FMLNetworkHandler.onConnectionClosed(this);
+ FMLNetworkHandler.onConnectionClosed(this, this.field_74485_r.getPlayer());
}
}