From 900b84076201ae4a5eb57fbd83ee47252df92d1c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 9 Jun 2017 12:42:21 +0200 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9Ckeep=20inventory=E2=80=9D=20sett?= =?UTF-8?q?ing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mods/PLAYER/mcl_death/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/PLAYER/mcl_death/init.lua b/mods/PLAYER/mcl_death/init.lua index c33282b107..33c5c6dce0 100644 --- a/mods/PLAYER/mcl_death/init.lua +++ b/mods/PLAYER/mcl_death/init.lua @@ -1,4 +1,4 @@ ---if minetest.setting_get("keepInventory") == false then +if minetest.setting_getbool("mcl_keep_inventory_on_death") == false then minetest.register_on_dieplayer(function(player) local inv = player:get_inventory() local pos = player:getpos() @@ -17,4 +17,4 @@ end end end) ---end +end