fix the 2nd nether dust warning ^^

This commit is contained in:
cora 2022-05-09 12:06:28 +02:00
parent 421995deb3
commit 5a25e42fd3
1 changed files with 1 additions and 1 deletions

View File

@ -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])