mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Added method to get info from the AutoUpdater
This commit is contained in:
parent
169c55443a
commit
8a89aee75d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user