mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Time is sent on change
This commit is contained in:
@@ -100,7 +100,6 @@ class TimeAPI{
|
||||
$level = $this->server->api->level->getDefault();
|
||||
}
|
||||
$level->setTime($level->getTime() + (int) $time);
|
||||
return $this->server->time;
|
||||
}
|
||||
|
||||
public function getDate($time = false){
|
||||
|
@@ -416,6 +416,7 @@ class Level{
|
||||
public function setTime($time){
|
||||
$this->startTime = $this->time = (int) $time;
|
||||
$this->startCheck = microtime(true);
|
||||
$this->checkTime();
|
||||
}
|
||||
|
||||
public function getSeed(){
|
||||
|
Reference in New Issue
Block a user