Updated Interface

This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-26 14:02:37 +01:00
parent 39d5fea0ef
commit 196b0a4263
4 changed files with 15 additions and 9 deletions

View File

@ -11,7 +11,7 @@ class=ExamplePlugin
class ExamplePlugin implements Plugin{
private $api;
public function __construct($api, $server = false){
public function __construct(ServerAPI $api, $server = false){
$this->api = $api;
}

View File

@ -12,7 +12,7 @@ class=ReactorAsWater
class ReactorAsWater implements Plugin{
private $api;
public function __construct($api, $server = false){
public function __construct(ServerAPI $api, $server = false){
$this->api = $api;
}

View File

@ -12,7 +12,7 @@ class=SpawnChanger
class SpawnChanger implements Plugin{
private $api, $config, $path;
public function __construct($api, $server = false){
public function __construct(ServerAPI $api, $server = false){
$this->api = $api;
}