From a6f8379c403cf2a8dca1f5185c9ddb88802161e6 Mon Sep 17 00:00:00 2001 From: dktapps Date: Tue, 6 Sep 2016 17:39:58 +0100 Subject: [PATCH] Fix time bugs --- src/pocketmine/level/Level.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index c9679656e..4d49ab0ea 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -609,10 +609,10 @@ class Level implements ChunkManager, Metadatable{ * Changes to this function won't be recorded on the version. */ public function checkTime(){ - if($this->stopTime == true){ + if($this->stopTime === true){ return; }else{ - $this->time += 1.25; + $this->time += 1; } }