mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
RCONInstance: apply stfu operator
This commit is contained in:
parent
57cfe9fd43
commit
c43ce5c8fa
@ -80,7 +80,7 @@ class RCONInstance extends Thread{
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function readPacket($client, ?int &$requestID, ?int &$packetType, ?string &$payload){
|
private function readPacket($client, ?int &$requestID, ?int &$packetType, ?string &$payload){
|
||||||
$d = socket_read($client, 4);
|
$d = @socket_read($client, 4);
|
||||||
if($this->stop){
|
if($this->stop){
|
||||||
return false;
|
return false;
|
||||||
}elseif($d === false){
|
}elseif($d === false){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user