mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
add option to disable bones
This commit is contained in:
parent
29f1f01f37
commit
e2331a54b9
1 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,8 @@ minetest.register_node("bones:bones", {
|
|||
})
|
||||
|
||||
minetest.register_on_dieplayer(function(player)
|
||||
if minetest.setting_getbool("creative_mode") then
|
||||
if minetest.setting_getbool("creative_mode")
|
||||
or minetest.setting_getbool("disable_bones") then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue