From 8e1cd2d6bdfe9c5abd4deec3331f8c78164af087 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 23 Feb 2014 13:47:30 +0100 Subject: [PATCH] Check for block changes each 2 ticks instead of each 15 ticks --- src/world/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Level.php b/src/world/Level.php index 01a256dde..0ca8b9175 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -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();