update lucky blocks to handle different settings

This commit is contained in:
FaceDeer 2017-01-22 16:21:33 -07:00
parent 033d697f88
commit e9d8265596

@ -502,11 +502,17 @@ end
-- add lucky blocks
if minetest.get_modpath("lucky_block") then
if single_craftable_item then
lucky_block:add_blocks({
{"dro", {"hopper:hopper_item"}, 3},
{"nod", "default:lava_source", 1},
})
else
lucky_block:add_blocks({
{"dro", {"hopper:hopper"}, 3},
{"nod", "default:lava_source", 1},
})
end
end
print ("[MOD] Hopper loaded")