mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
unknown -> randomly (fixed #68)
This commit is contained in:
parent
3fb4198210
commit
5eb458e14e
2 changed files with 5 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class DropItemPacket extends RakNetDataPacket{
|
||||
public $eid;
|
||||
public $unknown;
|
||||
public $randomly;
|
||||
public $item;
|
||||
|
||||
public function pid(){
|
||||
|
|
@ -11,7 +11,7 @@ class DropItemPacket extends RakNetDataPacket{
|
|||
|
||||
public function decode(){
|
||||
$this->eid = $this->getInt();
|
||||
$this->unknown = $this->getByte();
|
||||
$this->randomly = $this->getByte();
|
||||
$this->item = $this->getSlot();
|
||||
}
|
||||
|
||||
|
|
@ -27,4 +27,4 @@ class DropItemPacket extends RakNetDataPacket{
|
|||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue