mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
OOPS!
This commit is contained in:
parent
bad8365e28
commit
fd2eb7b230
@ -62,7 +62,7 @@ class MinecraftInterface{
|
||||
$source = false;
|
||||
$port = 1;
|
||||
$len = $this->socket->read($buf, $source, $port);
|
||||
if($len === false and $len > 0){
|
||||
if($len === false or $len === 0){
|
||||
return $pk;
|
||||
}
|
||||
$this->bandwidth[0] += $len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user