mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-24 05:29:44 +00:00
Fixed packets being discarded due to a bad ordering
This commit is contained in:
parent
cad9908f94
commit
80aaf9923c
2 changed files with 5 additions and 5 deletions
|
|
@ -271,7 +271,7 @@ class Packet{
|
||||||
$pk = new CustomPacketHandler($id, $pak);
|
$pk = new CustomPacketHandler($id, $pak);
|
||||||
$pk->data["length"] = $ln;
|
$pk->data["length"] = $ln;
|
||||||
$pk->data["id"] = $id;
|
$pk->data["id"] = $id;
|
||||||
$pk->data["counter"] = $messageNumber;
|
$pk->data["counter"] = $messageIndex;
|
||||||
$pk->data["packetName"] = $pk->name;
|
$pk->data["packetName"] = $pk->name;
|
||||||
$this->data["packets"][] = array($pid, $pk->data, $pak);
|
$this->data["packets"][] = array($pid, $pk->data, $pak);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue