1.1 RELEASE

This commit is contained in:
Ad5001 2016-05-31 19:56:40 +02:00
parent 26a0822850
commit 1db1810c7d
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,7 @@
--- ---
name: Online name: Online
author: Ad5001 author: Ad5001
version: 1.0 version: 1.1
api: [2.0.0] api: [2.0.0]
main: Ad5001\Online\Main main: Ad5001\Online\Main
commands: [] commands: []

View file

@ -29,7 +29,6 @@ use pocketmine\math\Vector3;
$this->isRunning = false; $this->isRunning = false;
} }
public function onRun() { public function onRun() {
socket_listen($this->sock);
$sock = $this->sock; $sock = $this->sock;
$client = socket_accept($sock); $client = socket_accept($sock);
$input = socket_read($client, 1024); $input = socket_read($client, 1024);