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

This commit is contained in:
Shoghi Cervantes 2014-02-23 13:47:30 +01:00
parent 24722e3c9a
commit 8e1cd2d6bd

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();