Update for 0.4.16 settings syntax
This commit is contained in:
parent
809715cd89
commit
d40a09b1ef
4
init.lua
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user