From 61a999fe5a24f3e5c69db88292742fb9ab595c30 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 2 May 2022 21:47:33 +0200 Subject: [PATCH] Fix warning in mcl_weather --- mods/ENVIRONMENT/mcl_weather/nether_dust.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua index 4ab9e4081d..bbfa0da09a 100644 --- a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua +++ b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua @@ -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