getPocketMineBuild() public method

public getPocketMineBuild ( ) : string
return string
Exemplo n.º 1
0
 protected function checkUpdate()
 {
     if ($this->updateInfo === null) {
         return;
     }
     $currentBuild = $this->server->getPocketMineBuild();
     $newBuild = $this->updateInfo["build"];
     if ($currentBuild < $newBuild) {
         $this->hasUpdate = true;
     } else {
         $this->hasUpdate = false;
     }
 }