mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Seems Fix TypeError
This commit is contained in:
parent
755c12ac36
commit
eccf3e7131
1 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ class RakNetParser{
|
|||
return !isset($this->buffer[$this->offset]);
|
||||
}
|
||||
|
||||
private function parseDataPacket(int $protocol = ProtocolInfo::CURRENT_PROTOCOL){
|
||||
private function parseDataPacket($protocol = ProtocolInfo::CURRENT_PROTOCOL){
|
||||
$packetFlags = $this->getByte();
|
||||
$reliability = ($packetFlags & 0b11100000) >> 5;
|
||||
$hasSplit = ($packetFlags & 0b00010000) > 0;
|
||||
|
|
@ -417,4 +417,4 @@ class RakNetParser{
|
|||
return Utils::readInt($this->get(4), $unsigned);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue