version increase + small fix
This commit is contained in:
parent
2177858368
commit
9c0500f42b
@ -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
|
||||
*/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user