From 2f72989d02be9917519393f73ace38a0a816671c Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Thu, 6 Jul 2017 14:02:17 +0200 Subject: [PATCH] change to on_dieplayer --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index e7c2e62..c9cf7b6 100644 --- a/init.lua +++ b/init.lua @@ -196,7 +196,7 @@ minetest.after(0, function () end) -minetest.register_on_respawnplayer(function(player) +minetest.register_on_dieplayer(function(player) local playername = player:get_player_name() if woodcutting.inprocess[playername] then player:hud_remove(woodcutting.inprocess[playername].hud)