mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Updated chests to 0.7.4 RC
This commit is contained in:
parent
77c35dd18e
commit
f6bbedbe91
3 changed files with 14 additions and 8 deletions
|
|
@ -740,12 +740,15 @@ class CustomPacketHandler{
|
|||
$this->data["windowid"] = ord($this->get(1));
|
||||
$this->data["type"] = ord($this->get(1));
|
||||
$this->data["slots"] = ord($this->get(1));
|
||||
$this->data["title"] = $this->get(Utils::readShort($this->get(2), false));
|
||||
|
||||
//$this->data["title"] = $this->get(Utils::readShort($this->get(2), false));
|
||||
}else{
|
||||
$this->raw .= chr($this->data["windowid"]);
|
||||
$this->raw .= chr($this->data["type"]);
|
||||
$this->raw .= chr($this->data["slots"]);
|
||||
$this->raw .= Utils::writeShort(strlen($this->data["title"])).$this->data["title"];
|
||||
$this->raw .= Utils::writeInt($this->data["x"]);
|
||||
$this->raw .= Utils::writeInt($this->data["y"]);
|
||||
$this->raw .= Utils::writeInt($this->data["z"]);
|
||||
}
|
||||
break;
|
||||
case MC_CONTAINER_CLOSE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue