mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Fixed level importing
This commit is contained in:
parent
5d6d30ed4e
commit
d61f7b889f
2 changed files with 5 additions and 3 deletions
|
|
@ -472,7 +472,7 @@ class Player{
|
|||
if($w === $data["tile"]){
|
||||
$this->dataPacket(MC_CONTAINER_SET_SLOT, array(
|
||||
"windowid" => $id,
|
||||
"slot" => $data["slot"],
|
||||
"slot" => $data["slot"] + (isset($data["offset"]) ? $data["offset"]:0),
|
||||
"block" => $data["slotdata"]->getID(),
|
||||
"stack" => $data["slotdata"]->count,
|
||||
"meta" => $data["slotdata"]->getMetadata(),
|
||||
|
|
@ -1758,6 +1758,7 @@ class Player{
|
|||
if($this->server->api->dhandle("player.container.slot", array(
|
||||
"tile" => $tile,
|
||||
"slot" => $data["slot"],
|
||||
"offset" => $offset,
|
||||
"slotdata" => $slot,
|
||||
"itemdata" => $item,
|
||||
"player" => $this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue