mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-05 07:13:51 +01:00
Use get_bool
This commit is contained in:
parent
c350b5158b
commit
3577585d74
@ -162,7 +162,7 @@ if minetest.get_modpath("mcl_armor") then
|
||||
end
|
||||
end)
|
||||
minetest.register_on_dieplayer(function(player)
|
||||
if minetest.settings:get("mcl_keepInventory") ~= "true" then
|
||||
if not minetest.settings:get_bool("mcl_keepInventory") then
|
||||
remove_pumpkin_hud(player)
|
||||
end
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user