forked from mtcontrib/food_sweet
Use settings:get and settings:set instead of setting_get and setting_set
This commit is contained in:
parent
1719cf77fa
commit
88b2f0ed55
4
init.lua
4
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()
|
||||
|
Loading…
Reference in New Issue
Block a user