Use new Minetest settings API syntax for most mods
This commit is contained in:
parent
6fa426741e
commit
e5a34367c9
41 changed files with 86 additions and 86 deletions
|
@ -1,5 +1,5 @@
|
|||
minetest.register_on_dieplayer(function(player)
|
||||
local keep = minetest.setting_getbool("mcl_keepInventory") or false
|
||||
local keep = minetest.settings:get_bool("mcl_keepInventory") or 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