1
0
Fork 0

Use get_bool

This commit is contained in:
NO11 2021-06-10 15:34:57 +00:00
parent c350b5158b
commit 3577585d74
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ if minetest.get_modpath("mcl_armor") then
end end
end) end)
minetest.register_on_dieplayer(function(player) 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) remove_pumpkin_hud(player)
end end
end) end)