From 9f4dbd36d259b21c4dca124e927cc80b5ff5d014 Mon Sep 17 00:00:00 2001 From: kotyaralih <62548070+kotyaralih@users.noreply.github.com> Date: Sun, 5 Dec 2021 10:53:24 -0800 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 aaa97ab4..d23f4d35 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();