Remove snow particle spawners if the player isn't in a location with snow

This commit is contained in:
teknomunk 2025-04-01 07:29:29 -05:00 committed by the-real-herowl
parent 39b60b31bf
commit ff29c347b2

View file

@ -109,6 +109,8 @@ function mcl_weather.snow.make_weather()
local pos = player:get_pos()
if mcl_weather.has_snow(pos) then
make_weather_for_player(player)
else
mcl_weather.remove_spawners_player(player)
end
end
end