replace pairs() by ipairs()

This commit is contained in:
AFCMS 2021-02-18 15:24:03 +00:00
parent 2e2d0b49ea
commit 9819b713c9
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ mcl_weather.rain.set_sky_box = function()
{r=85, g=86, b=98}, {r=85, g=86, b=98},
{r=0, g=0, b=0}}) {r=0, g=0, b=0}})
mcl_weather.skycolor.active = true mcl_weather.skycolor.active = true
for _, player in pairs(minetest.get_connected_players()) do for _, player in ipairs(minetest.get_connected_players()) do
player:set_clouds({color="#5D5D5FE8"}) player:set_clouds({color="#5D5D5FE8"})
end end
end end