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

@ -45,8 +45,8 @@ class TileEntity extends stdClass{
public $metadata;
public $closed;
private $server;
function __construct(PocketMinecraftServer $server, $id, $class, $x, $y, $z, $data = array()){
$this->server = $server;
function __construct($id, $class, $x, $y, $z, $data = array()){
$this->server = ServerAPI::request();
$this->normal = true;
$this->class = $class;
$this->data = $data;