Extend timeout for client to 5 seconds. Should fix Forge #1322

This commit is contained in:
cpw 2014-08-13 10:22:25 -04:00
parent 18c71e5f2f
commit c8c6190566

View file

@ -841,7 +841,7 @@ public class FMLClientHandler implements IFMLSidedHandler
boolean gotIt = false;
try
{
gotIt = playClientBlock.await(1,TimeUnit.SECONDS);
gotIt = playClientBlock.await(5,TimeUnit.SECONDS);
} catch (InterruptedException e)
{
}
@ -870,7 +870,7 @@ public class FMLClientHandler implements IFMLSidedHandler
{
return true; //Always true as the server has to be started before clicking 'Open to lan'
}
@Override
public void allowLogins() {
// NOOP for integrated server