if (player.isSpoutCraftEnabled()) {
String moon = getMoonTextureUrl(player);
moon = moon == null ? "" : moon;
String sun = getSunTextureUrl(player);
sun = sun == null ? "" : sun;
player.sendPacket(new PacketSky(getRealCloudHeight(player), getStarFrequency(player), getSunSizePercent(player), getMoonSizePercent(player), getSkyColor(player), getFogColor(player), getCloudColor(player), sun, moon));
}
}