Merge pull request #1 from AntumDeluge/settings

Replace deprecated method 'setting_get' with 'settings:get'
This commit is contained in:
FaceDeer 2017-06-07 09:11:52 -06:00 committed by GitHub
commit ca21489bc1

@ -11,7 +11,7 @@ if minetest.get_modpath("hopper") and hopper ~= nil and hopper.add_container ~=
end end
local crafting_rate = minetest.setting_get("crafting_bench_crafting_rate") local crafting_rate = minetest.settings:get("crafting_bench_crafting_rate")
if crafting_rate == nil then crafting_rate = 5 end if crafting_rate == nil then crafting_rate = 5 end