diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 42a3def168..871c7fd043 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -155,7 +155,8 @@ minetest.register_globalstep(function(dtime) end) function minetest.handle_node_drops(pos, drops, digger) - if minetest.setting_getbool("creative_mode") or minetest.setting_getbool("mcl_doTileDrops") == false then + local doTileDrops = minetest.setting_getbool("mcl_doTileDrops") or true + if minetest.setting_getbool("creative_mode") or doTileDrops == false then return end for _,item in ipairs(drops) do diff --git a/mods/PLAYER/mcl_death/init.lua b/mods/PLAYER/mcl_death/init.lua index cd69d5736f..8640f3fa10 100644 --- a/mods/PLAYER/mcl_death/init.lua +++ b/mods/PLAYER/mcl_death/init.lua @@ -1,5 +1,5 @@ minetest.register_on_dieplayer(function(player) - local keep = minetest.setting_getbool("mcl_keepInventory") + local keep = minetest.setting_getbool("mcl_keepInventory") or false if keep == false then local inv = player:get_inventory() local pos = player:getpos()