From aeff7cf1a43e5a3f7d18858f8d077b35c7c1cd2e Mon Sep 17 00:00:00 2001 From: NO411 Date: Tue, 22 Mar 2022 12:48:41 +0100 Subject: [PATCH] Remove offhand item on death --- mods/PLAYER/mcl_death_drop/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/PLAYER/mcl_death_drop/init.lua b/mods/PLAYER/mcl_death_drop/init.lua index bfeee0c3e4..665393ca52 100644 --- a/mods/PLAYER/mcl_death_drop/init.lua +++ b/mods/PLAYER/mcl_death_drop/init.lua @@ -13,6 +13,7 @@ end mcl_death_drop.register_dropped_list("PLAYER", "main", true) mcl_death_drop.register_dropped_list("PLAYER", "craft", true) mcl_death_drop.register_dropped_list("PLAYER", "armor", true) +mcl_death_drop.register_dropped_list("PLAYER", "offhand", true) minetest.register_on_dieplayer(function(player) local keep = minetest.settings:get_bool("mcl_keepInventory", false)