Fix other boolean settings default fails
This commit is contained in:
parent
7e9a9821c9
commit
6188d7b528
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
minetest.register_on_dieplayer(function(player)
|
||||
local keep = minetest.settings:get_bool("mcl_keepInventory") or false
|
||||
local keep = minetest.settings:get_bool("mcl_keepInventory", false)
|
||||
if keep == false then
|
||||
-- Drop inventory, crafting grid and armor
|
||||
local inv = player:get_inventory()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue