Can someone help, This is the code in BossBarAPI, when addBossBar function is executed, bossbar is spawned normally, but the sky turns grey (like boss mode), any help to make the sky clear? PHP: public function addBossBar($players, string $title, $ticks = null){ if(empty($players)) return null; $eid = 99; $packet = new AddEntityPacket(); $packet->entityRuntimeId = $eid; $packet->type = 52; $packet->yaw = 0; $packet->pitch = 0; $packet->speedX = 0; $packet->speedY = 0; $packet->speedZ = 0; $packet->metadata = [Entity::DATA_LEAD_HOLDER_EID => [Entity::DATA_TYPE_LONG, -1], Entity::DATA_FLAGS => [Entity::DATA_TYPE_LONG, 0 ^ 1 << Entity::DATA_FLAG_SILENT ^ 1 << Entity::DATA_FLAG_INVISIBLE ^ 1 << Entity::DATA_FLAG_NO_AI], Entity::DATA_SCALE => [Entity::DATA_TYPE_FLOAT, 0], Entity::DATA_NAMETAG => [Entity::DATA_TYPE_STRING, $title], Entity::DATA_BOUNDING_BOX_WIDTH => [Entity::DATA_TYPE_FLOAT, 0], Entity::DATA_BOUNDING_BOX_HEIGHT => [Entity::DATA_TYPE_FLOAT, 0]]; foreach($players as $player){ $pk = clone $packet; $pk->x = $player->x; $pk->y = $player->y - 28; $pk->z = $player->z; $player->dataPacket($pk); } $bpk = new BossEventPacket(); // This updates the bar $bpk->bossEid = $eid; $bpk->eventType = BossEventPacket::TYPE_SHOW; $bpk->title = $title; $bpk->healthPercent = 100; $bpk->unknownShort = 0; //TODO: remove. Shoghi deleted that unneeded mess that was copy-pasted from MC-JAVA $bpk->color = 0; //TODO: remove. Shoghi deleted that unneeded mess that was copy-pasted from MC-JAVA $bpk->overlay = 0; //TODO: remove. Shoghi deleted that unneeded mess that was copy-pasted from MC-JAVA $this->getServer()->broadcastPacket($players, $bpk); return $eid; // TODO: return EID from bosseventpacket? }