Merge pull request 'Fix warning in mcl_weather (#2157)' (#2168) from fix_weather_warning into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2168
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
cora 2022-05-03 00:41:06 +00:00
commit a27abae045

@ -28,7 +28,7 @@ local function check_player(player)
end
mcl_weather.nether_dust.add_particlespawners = function(player)
local name=player:get_player_name(name)
local name=player:get_player_name()
mcl_weather.nether_dust.particlespawners[name]={}
psdef.playername = name
psdef.attached = player