summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-06-20 16:58:38 +0200
committerWuzzy <almikes@aol.com>2017-06-20 16:58:38 +0200
commitd40a09b1efd7f67fc74c0173ab1f1e590f759c18 (patch)
tree164188e8103778c5cc12123e55424820f9714563
parent809715cd8905d2bfa51d7f0f565013899d064d99 (diff)
Update for 0.4.16 settings syntaxHEADmaster
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index baa3ef4..ec1bbf9 100644
--- a/init.lua
+++ b/init.lua
@@ -20,12 +20,12 @@ doc.sub.items.temp.rotate_node = S("This block's rotation is affected by the way
doc.sub.items.settings = {}
doc.sub.items.settings.friendly_group_names = false
-local setting = minetest.setting_getbool("doc_items_friendly_group_names")
+local setting = minetest.settings:get_bool("doc_items_friendly_group_names")
if setting ~= nil then
doc.sub.items.settings.friendly_group_names = setting
end
doc.sub.items.settings.itemstring = false
-setting = minetest.setting_getbool("doc_items_show_itemstrings")
+setting = minetest.settings:get_bool("doc_items_show_itemstrings")
if setting ~= nil then
doc.sub.items.settings.itemstring = setting
end