fixes related to packets and entities

This commit is contained in:
GameHerobrine 2023-02-21 16:25:34 +03:00
parent abe7846bb9
commit 1ecbc1d308
6 changed files with 12 additions and 16 deletions

View file

@ -61,6 +61,7 @@ class GenericBlock extends Block{
"y" => $this->y + 0.5,
"z" => $this->z + 0.5,
"Tile" => $this->id,
"Metadata" => $this->getMetadata()
);
$server = ServerAPI::request();
$this->level->setBlock($this, new AirBlock(), false, false, true);