mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed chests not appearing correctly after removing and placing them
This commit is contained in:
parent
36be0211f9
commit
2cd42fb605
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,8 @@ class ChestBlock extends TransparentBlock{
|
|||
"y" => $this->y,
|
||||
"z" => $this->z
|
||||
));
|
||||
|
||||
$server->api->tile->spawnToAll($tile);
|
||||
|
||||
if($chest instanceof Tile){
|
||||
$chest->pairWith($tile);
|
||||
$tile->pairWith($chest);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue