Removed $server constructor arguments because of ServerAPI::request()

This commit is contained in:
Shoghi Cervantes Pueyo
2013-03-29 19:49:33 +01:00
parent af52b0a5b5
commit 6d39f54591
17 changed files with 35 additions and 34 deletions

View File

@@ -27,11 +27,11 @@ the Free Software Foundation, either version 3 of the License, or
class ConsoleAPI{
private $loop, $server, $event, $help, $cmds, $alias;
function __construct(PocketMinecraftServer $server){
function __construct(){
$this->help = array();
$this->cmds = array();
$this->alias = array();
$this->server = $server;
$this->server = ServerAPI::request();
$this->last = microtime(true);
}