mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Put logging exception handlers on all channel inbounds. Fix problem with failure to login. Closes #350
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user