mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Merge branch 'next-minor'
This commit is contained in:
commit
94180cda72
@ -1930,14 +1930,12 @@ class Server{
|
|||||||
$this->currentTPS = 20;
|
$this->currentTPS = 20;
|
||||||
$this->currentUse = 0;
|
$this->currentUse = 0;
|
||||||
|
|
||||||
|
($this->queryRegenerateTask = new QueryRegenerateEvent($this))->call();
|
||||||
|
|
||||||
$this->network->updateName();
|
$this->network->updateName();
|
||||||
$this->network->resetStatistics();
|
$this->network->resetStatistics();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($this->tickCounter & 0b111111111) === 0){
|
|
||||||
($this->queryRegenerateTask = new QueryRegenerateEvent($this))->call();
|
|
||||||
}
|
|
||||||
|
|
||||||
if($this->sendUsageTicker > 0 and --$this->sendUsageTicker === 0){
|
if($this->sendUsageTicker > 0 and --$this->sendUsageTicker === 0){
|
||||||
$this->sendUsageTicker = 6000;
|
$this->sendUsageTicker = 6000;
|
||||||
$this->sendUsage(SendUsageTask::TYPE_STATUS);
|
$this->sendUsage(SendUsageTask::TYPE_STATUS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user