From 22d7f856d8391f27e99cc19b9fcdb0545c0db067 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Wed, 26 Dec 2012 20:26:39 +0100 Subject: [PATCH] Add the property --- classes/API/ServerAPI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/API/ServerAPI.php b/classes/API/ServerAPI.php index 725d2e11a..f4bdfc8e7 100644 --- a/classes/API/ServerAPI.php +++ b/classes/API/ServerAPI.php @@ -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);