Update 'RealTime/src/RealTime/MainClass.php'
This commit is contained in:
parent
6a3b19986c
commit
81cd81202d
@ -69,12 +69,12 @@ $test = date('H') + ($modify);
|
||||
}
|
||||
|
||||
$this->getLogger()->info(TextFormat::DARK_GREEN ."[RealTime] It is " . $test. " (20h is same as 8pm)");
|
||||
$this->getPlugin()->getScheduler()->scheduleRepeatingTask(new changeTimeTask($this), 120);
|
||||
$this->getScheduler()->scheduleRepeatingTask(new changeTimeTask($this), 120);
|
||||
$this->changeTime();
|
||||
|
||||
if ($tTime == true) {
|
||||
$this->getLogger()->info($tTimeInterval);
|
||||
$this->getPlugin()->getScheduler()->scheduleRepeatingTask(new tellTimeTask($this), $tTimeInterval);
|
||||
$this->getScheduler()->scheduleRepeatingTask(new tellTimeTask($this), $tTimeInterval);
|
||||
$this->tellTime();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user