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
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class ContainerClosePacket extends RakNetDataPacket{
|
||||
public $windowid;
|
||||
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_CLOSE_PACKET;
|
||||
|
|
@ -19,11 +19,11 @@ class ContainerClosePacket extends RakNetDataPacket{
|
|||
}
|
||||
return ProtocolInfo::CONTAINER_CLOSE_PACKET;
|
||||
}
|
||||
|
||||
|
||||
public function decode(){
|
||||
$this->windowid = $this->getByte();
|
||||
}
|
||||
|
||||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putByte($this->windowid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue