Conver High ItemID to Old ItemId

This commit is contained in:
yefengeeeeeeeeeee 2025-04-25 17:19:22 +08:00
parent 6b7563d8ea
commit fd23ba04ec
9 changed files with 36 additions and 10 deletions

View file

@ -23,7 +23,7 @@ class UpdateBlockPacket extends RakNetDataPacket{
$this->putInt($this->x);
$this->putInt($this->z);
$this->putByte($this->y);
$this->putByte($this->block);
$this->putByte(BlockAPI::convertHighItemIdsToOldItemIds($this->PROTOCOL, $this->block));
$this->putByte($this->meta);
}