mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +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("----- -------------------------- -----");
|
$logger->info("----- -------------------------- -----");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUpdateInfo(){
|
||||||
|
return $this->updateInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function doCheck(){
|
||||||
|
$this->check();
|
||||||
|
}
|
||||||
|
|
||||||
protected function checkUpdate(){
|
protected function checkUpdate(){
|
||||||
if($this->updateInfo === null){
|
if($this->updateInfo === null){
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user