mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Extend timeout for client to 5 seconds. Should fix Forge #1322
This commit is contained in:
1 parent
18c71e5f2f
commit
c8c6190566
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user