From 1db1810c7dc5f5dd669ccd481f9c2b5ee8b2a12c Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 31 May 2016 19:56:40 +0200 Subject: [PATCH] 1.1 RELEASE --- plugin.yml | 2 +- src/Ad5001/Online/OnlineTask.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 6d643f4..f10c4dd 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,7 +1,7 @@ --- name: Online author: Ad5001 -version: 1.0 +version: 1.1 api: [2.0.0] main: Ad5001\Online\Main commands: [] diff --git a/src/Ad5001/Online/OnlineTask.php b/src/Ad5001/Online/OnlineTask.php index 72eb2c7..928dc19 100644 --- a/src/Ad5001/Online/OnlineTask.php +++ b/src/Ad5001/Online/OnlineTask.php @@ -29,7 +29,6 @@ use pocketmine\math\Vector3; $this->isRunning = false; } public function onRun() { - socket_listen($this->sock); $sock = $this->sock; $client = socket_accept($sock); $input = socket_read($client, 1024);