version increase + small fix

This commit is contained in:
kremsy 2018-07-11 17:47:17 +02:00
parent 2177858368
commit 9c0500f42b
3 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,7 @@
* ManiaControl Server Controller for ManiaPlanet Server
*
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2018 ManiaControl Team
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/

View File

@ -27,8 +27,10 @@ class StatusCallbackStructure extends BaseResponseStructure {
parent::__construct($maniaControl, $data);
$this->active = $this->getPlainJsonObject()->active;
if(property_exists($this->getPlainJsonObject(), "available")){
$this->available = $this->getPlainJsonObject()->available;
}
}
/**
* True if the Status (Like Combo Pause or Warmup) is Ongoing

View File

@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
/*
* Constants
*/
const VERSION = '0.229';
const VERSION = '0.230';
const API_VERSION = '2013-04-16';
const MIN_DEDIVERSION = '2017-05-03_21_00';
const SCRIPT_TIMEOUT = 40;