mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 11:16:57 +00:00
Furnaces and Burning items
This commit is contained in:
@ -718,6 +718,17 @@ class CustomPacketHandler{
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MC_CONTAINER_SET_DATA:
|
||||
if($this->c === false){
|
||||
$this->data["windowid"] = ord($this->get(1));
|
||||
$this->data["property"] = Utils::readShort($this->get(2));
|
||||
$this->data["value"] = Utils::readShort($this->get(2));
|
||||
}else{
|
||||
$this->raw .= chr($this->data["windowid"]);
|
||||
$this->raw .= Utils::writeShort($this->data["property"]);
|
||||
$this->raw .= Utils::writeShort($this->data["value"]);
|
||||
}
|
||||
break;
|
||||
case MC_CLIENT_MESSAGE:
|
||||
if($this->c === false){
|
||||
$this->data["message"] = $this->get(Utils::readShort($this->get(2), false));
|
||||
|
Reference in New Issue
Block a user