forked from VoxeLibre/VoxeLibre
Remove posibility of nil sky colors in overworld, add line break
This commit is contained in:
parent
2145470f63
commit
96a03b1923
|
@ -46,12 +46,12 @@ function dimension_handlers.overworld(player, sky_data)
|
||||||
sky_data.sky = {
|
sky_data.sky = {
|
||||||
type = "regular",
|
type = "regular",
|
||||||
sky_color = {
|
sky_color = {
|
||||||
day_sky = day_color,
|
day_sky = day_color or "#7BA4FF",
|
||||||
day_horizon = day_color,
|
day_horizon = day_color or "#C0D8FF",
|
||||||
dawn_sky = dawn_color,
|
dawn_sky = dawn_color or "7BA4FF",
|
||||||
dawn_horizon = dawn_color,
|
dawn_horizon = dawn_color or "#C0D8FF",
|
||||||
night_sky = night_color,
|
night_sky = night_color or "000000",
|
||||||
night_horizon = night_color,
|
night_horizon = night_color or "4A6790",
|
||||||
fog_sun_tint = "#ff5f33",
|
fog_sun_tint = "#ff5f33",
|
||||||
fog_moon_tint = nil,
|
fog_moon_tint = nil,
|
||||||
fog_tint_type = "custom",
|
fog_tint_type = "custom",
|
||||||
|
@ -81,12 +81,12 @@ function dimension_handlers.overworld(player, sky_data)
|
||||||
sky_data.sky = {
|
sky_data.sky = {
|
||||||
type = "regular",
|
type = "regular",
|
||||||
sky_color = {
|
sky_color = {
|
||||||
day_sky = day_color,
|
day_sky = day_color or "#7BA4FF",
|
||||||
day_horizon = day_color,
|
day_horizon = day_color or "#C0D8FF",
|
||||||
dawn_sky = dawn_color,
|
dawn_sky = dawn_color or "7BA4FF",
|
||||||
dawn_horizon = dawn_color,
|
dawn_horizon = dawn_color or "#C0D8FF",
|
||||||
night_sky = night_color,
|
night_sky = night_color or "000000",
|
||||||
night_horizon = night_color,
|
night_horizon = night_color or "4A6790",
|
||||||
},
|
},
|
||||||
clouds = true,
|
clouds = true,
|
||||||
}
|
}
|
||||||
|
@ -167,7 +167,8 @@ function dimension_handlers.nether(player, sky_data)
|
||||||
end
|
end
|
||||||
|
|
||||||
function dimension_handlers.void(player, sky_data)
|
function dimension_handlers.void(player, sky_data)
|
||||||
sky_data.sky = { type = "plain",
|
sky_data.sky = {
|
||||||
|
type = "plain",
|
||||||
base_color = "#000000",
|
base_color = "#000000",
|
||||||
clouds = false,
|
clouds = false,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue