1
0
Fork 0

Fix bad sky color definitions

This commit is contained in:
Wuzzy 2020-04-07 01:34:11 +02:00
parent c5e4ec5e27
commit c9cc3651df
1 changed files with 4 additions and 12 deletions

View File

@ -61,11 +61,11 @@ mcl_weather.skycolor = {
-- Clear weather -- Clear weather
player:set_sky({ player:set_sky({
type = "regular", type = "regular",
sky_colors = { sky_color = {
day_sky = "#92B9FF", day_sky = "#92B9FF",
day_horizon = "#B4D0FF", day_horizon = "#B4D0FF",
dawn_sky = "#B4BAFA", dawn_sky = "#B4BAFA",
dawn_horizon = "BAC1F0", dawn_horizon = "#BAC1F0",
night_sky = "#006AFF", night_sky = "#006AFF",
night_horizon = "#4090FF", night_horizon = "#4090FF",
}, },
@ -131,16 +131,8 @@ mcl_weather.skycolor = {
player:set_stars({visible = false}) player:set_stars({visible = false})
player:override_day_night_ratio(nil) player:override_day_night_ratio(nil)
elseif dim == "void" then elseif dim == "void" then
player:set_sky({ type = "regular", player:set_sky({ type = "plain",
sky_color = { base_color = "#000000",
day_sky = "#000000",
day_horizon = "#000000",
dawn_sky = "#000000",
dawn_horizon = "#000000",
night_sky = "#000000",
night_horizon = "#000000",
indoors = "#000000",
},
clouds = false, clouds = false,
}) })
player:set_sun({visible = false, sunrise_visible = false}) player:set_sun({visible = false, sunrise_visible = false})