fix the 2nd nether dust warning ^^

This commit is contained in:
cora 2022-05-09 12:06:28 +02:00
parent 421995deb3
commit 5a25e42fd3

View file

@ -40,7 +40,7 @@ mcl_weather.nether_dust.add_particlespawners = function(player)
end end
mcl_weather.nether_dust.delete_particlespawners = function(player) 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 if mcl_weather.nether_dust.particlespawners[name] then
for i=1,3 do for i=1,3 do
minetest.delete_particlespawner(mcl_weather.nether_dust.particlespawners[name][i]) minetest.delete_particlespawner(mcl_weather.nether_dust.particlespawners[name][i])