mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
AutoUpdater: remove useless check (details_url is mandatory)
This commit is contained in:
parent
98f0447912
commit
44814a8421
@ -99,9 +99,8 @@ class AutoUpdater{
|
||||
$messages = [
|
||||
"Your version of " . $this->server->getName() . " is out of date. Version " . $this->newVersion->getFullVersion(true) . " was released on " . date("D M j h:i:s Y", $this->updateInfo->date)
|
||||
];
|
||||
if($this->updateInfo->details_url !== null){
|
||||
$messages[] = "Details: " . $this->updateInfo->details_url;
|
||||
}
|
||||
|
||||
$messages[] = "Details: " . $this->updateInfo->details_url;
|
||||
$messages[] = "Download: " . $this->updateInfo->download_url;
|
||||
|
||||
$this->printConsoleMessage($messages, \LogLevel::WARNING);
|
||||
|
Loading…
x
Reference in New Issue
Block a user