Fix bad mcl_ default settings
This commit is contained in:
parent
4786234c3e
commit
7b16b74903
2 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue