mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Merge branch 'master' into pr
This commit is contained in:
commit
c3a8ecaeb0
359 changed files with 3109 additions and 3222 deletions
|
|
@ -7,7 +7,7 @@ class PlayerActionPacket extends RakNetDataPacket{
|
|||
public $z;
|
||||
public $face;
|
||||
public $eid;
|
||||
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::PLAYER_ACTION_PACKET;
|
||||
|
|
@ -18,7 +18,7 @@ class PlayerActionPacket extends RakNetDataPacket{
|
|||
}
|
||||
return ProtocolInfo::PLAYER_ACTION_PACKET;
|
||||
}
|
||||
|
||||
|
||||
public function decode(){
|
||||
$this->action = $this->getInt();
|
||||
$this->x = $this->getInt();
|
||||
|
|
@ -27,7 +27,7 @@ class PlayerActionPacket extends RakNetDataPacket{
|
|||
$this->face = $this->getInt();
|
||||
$this->eid = $this->getInt();
|
||||
}
|
||||
|
||||
|
||||
public function encode(){
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue