mirror of
https://github.com/minetest-mods/crafting_bench.git
synced 2024-11-30 23:03:44 +01:00
parent
f97cb9a238
commit
69083ed6f5
3
init.lua
3
init.lua
@ -9,8 +9,7 @@ if minetest.get_modpath("hopper") and hopper ~= nil and hopper.add_container ~=
|
||||
end
|
||||
|
||||
|
||||
local crafting_rate = minetest.settings:get("crafting_bench_crafting_rate")
|
||||
if crafting_rate == nil then crafting_rate = 5 end
|
||||
local crafting_rate = tonumber(minetest.settings:get("crafting_bench_crafting_rate")) or 5
|
||||
|
||||
|
||||
minetest.register_node("crafting_bench:workbench",{
|
||||
|
Loading…
Reference in New Issue
Block a user