Skip to content

Commit

Permalink
Merge pull request #1 from AntumDeluge/settings
Browse files Browse the repository at this point in the history
Replace deprecated method 'setting_get' with 'settings:get'
  • Loading branch information
FaceDeer authored Jun 7, 2017
2 parents 3aa4cfb + 81e56c6 commit ca21489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if minetest.get_modpath("hopper") and hopper ~= nil and hopper.add_container ~=
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


Expand Down

0 comments on commit ca21489

Please sign in to comment.