mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Conver High ItemID to Old ItemId
This commit is contained in:
parent
6b7563d8ea
commit
fd23ba04ec
9 changed files with 36 additions and 10 deletions
|
|
@ -35,7 +35,7 @@ class ContainerSetContentPacket extends RakNetDataPacket{
|
|||
$this->putByte($this->windowid);
|
||||
$this->putShort(count($this->slots));
|
||||
foreach($this->slots as $slot){
|
||||
$this->putSlot($slot);
|
||||
$this->putSlot($this->PROTOCOL, $slot);
|
||||
}
|
||||
if($this->windowid === 0 and count($this->hotbar) > 0){
|
||||
$this->putShort(count($this->hotbar));//null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue