mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-17 13:31:16 +00:00
increase the kickTimeout to 10min, fix "disconnected" infinite world bug
This commit is contained in:
parent
587ce76f27
commit
2424dac368
2 changed files with 3 additions and 2 deletions
3
app.js
3
app.js
|
|
@ -12,7 +12,8 @@ var options = {
|
|||
'online-mode': settings.onlineMode,
|
||||
gameMode:settings.gameMode,
|
||||
commands: commands,
|
||||
logging:settings.logging
|
||||
logging:settings.logging,
|
||||
kickTimeout:10*60*1000
|
||||
};
|
||||
|
||||
mcServer.createMCServer(options);
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ function inject(serv,player)
|
|||
})
|
||||
.reduce((acc,{chunkX,chunkZ})=>
|
||||
acc
|
||||
.then(() => sleep(100))
|
||||
//.then(() => sleep(100))
|
||||
.then(() => serv.world.getColumn(chunkX,chunkZ))
|
||||
.then((column) => sendChunk(chunkX,chunkZ,column))
|
||||
,Promise.resolve());
|
||||
|
|
|
|||
Loading…
Reference in a new issue