Moved network check out of level, added server killer for long stops

This commit is contained in:
Shoghi Cervantes
2015-06-05 11:46:33 +02:00
parent a53b041984
commit 6e69e15dfd
4 changed files with 42 additions and 4 deletions

View File

@ -2479,6 +2479,10 @@ class Server{
$this->checkTickUpdates($this->tickCounter, $tickTime);
foreach($this->players as $player){
$player->checkNetwork();
}
if(($this->tickCounter & 0b1111) === 0){
$this->titleTick();
$this->maxTick = 20;