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
1 changed files with 2 additions and 2 deletions

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