diff --git a/src/pocketmine/network/rcon/RCONInstance.php b/src/pocketmine/network/rcon/RCONInstance.php index e9609e5f4..8a67cfb8a 100755 --- a/src/pocketmine/network/rcon/RCONInstance.php +++ b/src/pocketmine/network/rcon/RCONInstance.php @@ -81,6 +81,9 @@ private function readPacket($client, &$size, &$requestID, &$packetType, &$payloa public function close(){ $this->stop = true; } + public function kill(){ + $this->stop = true; + } public function run(){ @@ -184,4 +187,4 @@ public function run(){ public function getThreadName(){ return "RCON"; } -} \ No newline at end of file +}