From 02b2ff7460b0214972db5b28806ce3e66dc13572 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 2 May 2020 19:08:55 +0200 Subject: [PATCH] Fix mcl_weather crash --- mods/ENVIRONMENT/mcl_weather/rain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENVIRONMENT/mcl_weather/rain.lua b/mods/ENVIRONMENT/mcl_weather/rain.lua index ccb8cd5b2f..f5977940f1 100644 --- a/mods/ENVIRONMENT/mcl_weather/rain.lua +++ b/mods/ENVIRONMENT/mcl_weather/rain.lua @@ -20,7 +20,7 @@ mcl_weather.rain = { mcl_weather.rain.sound_handler = function(player) return minetest.sound_play("weather_rain", { - to_player = player, + to_player = player:get_player_name(), loop = true, }) end