mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixes
This commit is contained in:
parent
c104e21ef0
commit
3fce458406
5 changed files with 11 additions and 7 deletions
|
|
@ -72,17 +72,17 @@ class SerializedPacketHandler{
|
|||
$pk = new CustomPacketHandler($id, $raw);
|
||||
$pk->data["length"] = $len;
|
||||
$pk->data["id"] = $id;
|
||||
if($pid !== 0x00 and $i === 0){
|
||||
if($pid !== 0x00){
|
||||
$pk->data["counter"] = $c;
|
||||
}
|
||||
$pk->data["packetName"] = $pk->name;
|
||||
$this->data["packets"][] = array($pid, $pk->data, $raw);
|
||||
if($pid === 0x60 and $i === 0){
|
||||
/*if($pid === 0x60 and $i === 0){
|
||||
$l = $this->get(3);
|
||||
if(strlen($l) === 3){
|
||||
$this->data["unknown2"] = $this->get(Utils::readTriad($l));
|
||||
}
|
||||
}
|
||||
}*/
|
||||
++$i;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue