Check for block changes each 2 ticks, instead of each 15 ticks

This commit is contained in:
kotyaralih 2021-12-05 10:53:24 -08:00
parent 6a758398bf
commit 9f4dbd36d2

View file

@ -34,7 +34,7 @@ class Level{
$this->nextSave = $this->startCheck = microtime(true);
$this->nextSave += 90;
$this->stopTime = false;
$this->server->schedule(15, array($this, "checkThings"), array(), true);
$this->server->schedule(2, array($this, "checkThings"), array(), true);
$this->server->schedule(20 * 13, array($this, "checkTime"), array(), true);
$this->name = $name;
$this->usedChunks = array();