mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-15 22:05:06 +00:00
Added method to get info from the AutoUpdater
This commit is contained in:
@ -115,6 +115,14 @@ class AutoUpdater{
|
||||
$logger->info("----- -------------------------- -----");
|
||||
}
|
||||
|
||||
public function getUpdateInfo(){
|
||||
return $this->updateInfo;
|
||||
}
|
||||
|
||||
public function doCheck(){
|
||||
$this->check();
|
||||
}
|
||||
|
||||
protected function checkUpdate(){
|
||||
if($this->updateInfo === null){
|
||||
return;
|
||||
|
Reference in New Issue
Block a user