Deprecate global config variables

This commit is contained in:
stujones11 2018-01-05 20:02:18 +00:00
parent 347a8807bf
commit 83c60c85ff
11 changed files with 189 additions and 183 deletions

View file

@ -112,7 +112,7 @@ minetest.register_tool("shooter_hook:grapple_gun_loaded", {
end,
})
if SHOOTER_ENABLE_CRAFTING == true then
if shooter.config.enable_crafting == true then
minetest.register_craft({
output = "shooter_hook:grapple_hook",
recipe = {