mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Time is sent on change
This commit is contained in:
parent
16a8566fca
commit
bfa65e1e7d
@ -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(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user