public function UpdateBlockToUsingChunk(ChunkManager $level, $x, $y, $z, $id, $meta = 0) { foreach ($level->getUsingChunk($x >> 4, $z >> 4) as $player) { $this->pk->x = $x; $this->pk->y = $y; $this->pk->z = $z; $this->pk->block = $id; $this->pk->meta = $meta; $player->directDataPacket($this->pk); } }