From 88b2f0ed555539410c7aef06aaaccaeefeb1f464 Mon Sep 17 00:00:00 2001 From: engineer-pearl Date: Thu, 8 Mar 2018 01:09:52 -0800 Subject: [PATCH] Use settings:get and settings:set instead of setting_get and setting_set --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 2c8604d..a6625dd 100644 --- a/init.lua +++ b/init.lua @@ -37,8 +37,8 @@ if farming and farming.mod == "redo" then food.support("blueberry", "farming:blueberries") end -if minetest.setting_get("food_sweet_use_2d")==nil then - minetest.setting_set("food_sweet_use_2d", "1") +if minetest.settings:get("food_sweet_use_2d")==nil then + minetest.settings:set("food_sweet_use_2d", "1") end food.module("walnut",function()