summaryrefslogtreecommitdiff
path: root/crafting_bench/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crafting_bench/init.lua')
-rw-r--r--crafting_bench/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crafting_bench/init.lua b/crafting_bench/init.lua
index b723424..bab8d27 100644
--- a/crafting_bench/init.lua
+++ b/crafting_bench/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