mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Merge branch 'master' of https://github.com/ArkQuark/NostalgiaCore
This commit is contained in:
commit
a810d5aeae
15 changed files with 43 additions and 21 deletions
|
|
@ -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(){
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue