diff --git a/src/API/ChatAPI.php b/src/API/ChatAPI.php index d0fc9f65..079f6a74 100644 --- a/src/API/ChatAPI.php +++ b/src/API/ChatAPI.php @@ -26,8 +26,17 @@ the Free Software Foundation, either version 3 of the License, or */ class ChatAPI{ + private $server; + function __construct(PocketMinecraftServer $server){ + $this->server = $server; + } - public function chat($a, $b){ + public function init(){ + + } + + public function chat($a, $b){//a == name of owner. b == message $this->server->chat($a, $b); return true; + } } \ No newline at end of file