Merge pull request 'fix the 2nd nether dust warning' (#2190) from fix_weather_warning_2 into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2190
This commit is contained in:
cora 2022-05-09 10:09:18 +00:00
commit 1565999134

@ -40,7 +40,7 @@ mcl_weather.nether_dust.add_particlespawners = function(player)
end
mcl_weather.nether_dust.delete_particlespawners = function(player)
local name=player:get_player_name(name)
local name=player:get_player_name()
if mcl_weather.nether_dust.particlespawners[name] then
for i=1,3 do
minetest.delete_particlespawner(mcl_weather.nether_dust.particlespawners[name][i])