Fix warning in mcl_weather

This commit is contained in:
cora 2022-05-02 21:47:33 +02:00
parent 85afc8bd53
commit 61a999fe5a

View File

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