mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Add the property
This commit is contained in:
parent
c8a0315c52
commit
22d7f856d8
@ -99,6 +99,7 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
|
||||
if($this->getProperty("update-channel") == "dev" or $this->getProperty("update-channel") == "development"){
|
||||
$channel = "dev";
|
||||
}
|
||||
$this->setProperty("update-channel", $channel);
|
||||
|
||||
if($channel === "dev"){
|
||||
$info = json_decode(Utils::curl_get("https://api.github.com/repos/shoghicp/PocketMine-MP"), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user