mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Added Door sounds
This commit is contained in:
parent
e48126a0c9
commit
c11ee468a2
3 changed files with 29 additions and 12 deletions
|
|
@ -1718,9 +1718,8 @@ class Player{
|
|||
$this->toCraft = array();
|
||||
if(isset($this->windows[$data["windowid"]])){
|
||||
if(is_array($this->windows[$data["windowid"]])){
|
||||
$all = $this->server->api->player->getAll($this->level);
|
||||
foreach($this->windows[$data["windowid"]] as $ob){
|
||||
$this->server->api->player->broadcastPacket($all, MC_TILE_EVENT, array(
|
||||
$this->server->api->player->broadcastPacket($this->level->players, MC_TILE_EVENT, array(
|
||||
"x" => $ob->x,
|
||||
"y" => $ob->y,
|
||||
"z" => $ob->z,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue