Update doc and doc_items mods

This commit is contained in:
Wuzzy 2017-08-09 16:42:50 +02:00
parent e5a34367c9
commit a76603def6
2 changed files with 3 additions and 3 deletions

View file

@ -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