Put logging exception handlers on all channel inbounds. Fix problem with failure to login. Closes #350

This commit is contained in:
Christian committed 2014-01-17 17:00:55 -05:00
1 parent 9c96ca4402
commit 53557dcd05
10 files changed
+78 -3

No files matched your search

@@ -144,6 +144,8 @@ public class FMLClientHandler implements IFMLSidedHandler
private Map<ServerStatusResponse,JsonObject> extraServerListData;
private Map<ServerData, ExtendedServerListData> serverDataTag;
private NetHandlerPlayClient currentPlayClient;
/**
* Called to start the whole game off
*
@@ -532,7 +534,7 @@ public class FMLClientHandler implements IFMLSidedHandler
@Override
public INetHandler getClientPlayHandler()
{
return this.client.func_147114_u();
return this.currentPlayClient;
}
@Override
public NetworkManager getClientToServerNetworkManager()
@@ -697,6 +699,7 @@ public class FMLClientHandler implements IFMLSidedHandler
public void setPlayClient(NetHandlerPlayClient netHandlerPlayClient)
{
playClientBlock.countDown();
this.currentPlayClient = netHandlerPlayClient;
}
@Override