Multiple tree packet handling

This commit is contained in:
Shoghi Cervantes Pueyo
2012-11-22 20:14:36 +01:00
parent aae04b8dfd
commit 4daf7840d8
4 changed files with 41 additions and 16 deletions

View File

@ -165,7 +165,7 @@ class Packet{
}
break;
case "customData":
$d = new CustomPacketHandler($this->data[1], $this->get(Utils::readShort($this->get(2), false) >> 3));
$d = new CustomPacketHandler($this->data[1], $this->get(true));
$d->data["packetName"] = $d->name;
if(isset($d->data["packets"])){
$this->data["packets"] = $d->data["packets"];