Fix other boolean settings default fails

This commit is contained in:
Wuzzy 2019-03-25 12:42:37 +01:00
parent 7e9a9821c9
commit 6188d7b528
3 changed files with 3 additions and 3 deletions

View file

@ -212,7 +212,7 @@ function minetest.handle_node_drops(pos, drops, digger)
-- This means there is no digger. This is a special case which allows this function to be called
-- by hand. Creative Mode is intentionally ignored in this case.
local doTileDrops = minetest.settings:get_bool("mcl_doTileDrops") or true
local doTileDrops = minetest.settings:get_bool("mcl_doTileDrops", true)
if (digger ~= nil and minetest.settings:get_bool("creative_mode")) or doTileDrops == false then
return
end