This commit is contained in:
ArkQuark 2022-06-21 16:32:42 +03:00
commit a810d5aeae
15 changed files with 43 additions and 21 deletions

View file

@ -1158,7 +1158,7 @@ class Player{
case ProtocolInfo::REQUEST_CHUNK_PACKET:
case ProtocolInfo::ANIMATE_PACKET:
case ProtocolInfo::SET_HEALTH_PACKET:
continue 2;
break;
}
}
$this->received[$p->messageIndex] = true;
@ -1192,6 +1192,7 @@ class Player{
$cnt = $this->send($data);
if(isset($this->chunkCount[$count])){
unset($this->chunkCount[$count]);
if(!is_null($cnt) and !is_null($cnt[0]))
$this->chunkCount[$cnt[0]] = true;
}
}
@ -2508,4 +2509,4 @@ class PlayerNull extends Player{
public function __construct(){
}
}
}