mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-23 07:35:16 +02:00
Remove snow particle spawners if the player isn't in a location with snow
This commit is contained in:
parent
39b60b31bf
commit
ff29c347b2
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue