mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 00:15:35 +00:00
RCON bad reading fixed
This commit is contained in:
parent
281d3b037f
commit
43071dd0ac
@ -118,7 +118,7 @@ class RCONInstance extends Thread{
|
|||||||
return false;
|
return false;
|
||||||
}elseif($d === false){
|
}elseif($d === false){
|
||||||
return null;
|
return null;
|
||||||
}elseif($d === ""){
|
}elseif($d === "" or strlen($d) < 4){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@socket_set_block($client);
|
@socket_set_block($client);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user