mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
More packets, new structure
This commit is contained in:
parent
2fd71922ca
commit
8b1c010b4d
9 changed files with 213 additions and 69 deletions
|
|
@ -60,7 +60,7 @@ class SerializedPacketHandler{
|
|||
$pid = ord($this->get(1));
|
||||
}
|
||||
|
||||
$len = Utils::readShort($this->get(2), false) >> 3;
|
||||
$len = ceil(Utils::readShort($this->get(2), false) / 8); //Utils::readShort($this->get(2), false) >> 3;
|
||||
if($pid !== 0x00){
|
||||
$c = Utils::readTriad($this->get(3));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue