mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Bump to 0.14.0.7, new packets and fixes
This commit is contained in:
@ -37,7 +37,7 @@ class ContainerSetSlotPacket extends DataPacket{
|
||||
public function decode(){
|
||||
$this->windowid = $this->getByte();
|
||||
$this->slot = $this->getShort();
|
||||
$this->hotboarSlot = $this->getShort();
|
||||
$this->hotbarSlot = $this->getShort();
|
||||
$this->item = $this->getSlot();
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ interface Info{
|
||||
/**
|
||||
* Actual Minecraft: PE protocol version
|
||||
*/
|
||||
const CURRENT_PROTOCOL = 41;
|
||||
const CURRENT_PROTOCOL = 45;
|
||||
|
||||
const LOGIN_PACKET = 0x8f;
|
||||
const PLAY_STATUS_PACKET = 0x90;
|
||||
@ -91,6 +91,8 @@ interface Info{
|
||||
// const MAP_INFO_REQUEST_PACKET = 0xc7;
|
||||
// const REQUEST_CHUNK_RADIUS_PACKET = 0xc8;
|
||||
// const CHUNK_RADIUS_UPDATE_PACKET = 0xc9;
|
||||
// const ITEM_FRAME_DROP_ITEM_PACKET = 0xca;
|
||||
// const REPLACE_SELECTED_ITEM_PACKET = 0xcb;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user