mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Do not show update notifications to users running from git sources
This commit is contained in:
@ -151,7 +151,7 @@ class UpdateChecker{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($currentVersion->compare($newVersion) > 0 and ($currentVersion->getFullVersion() !== $newVersion->getFullVersion() or $currentVersion->getBuild() > 0)){
|
if($currentVersion->getBuild() > 0 && $currentVersion->compare($newVersion) > 0){
|
||||||
$this->updateInfo = $updateInfo;
|
$this->updateInfo = $updateInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user