mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
more entity metadata
This commit is contained in:
parent
447638816e
commit
93765e8cc7
6 changed files with 67 additions and 7 deletions
|
|
@ -9,7 +9,9 @@ class SetEntityDataPacket extends RakNetDataPacket{
|
|||
}
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->eid = $this->getInt();
|
||||
$b = $this->get(true);
|
||||
$this->metadata = Utils::readMetadata($b, true);
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue