mirror of
https://github.com/minetest-mods/crafting_bench.git
synced 2024-11-08 13:33:44 +01:00
Replace deprecated method 'setting_get' with 'settings:get'
This commit is contained in:
parent
3aa4cfb881
commit
81e56c65cd
2
init.lua
2
init.lua
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user