diff options
author | Wuzzy <almikes@aol.com> | 2016-12-06 14:57:33 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-06 14:57:33 +0100 |
commit | 68013d8cc6e3d97293a3b524d119b0025728b1a9 (patch) | |
tree | 91d42af541eed4ad0d7ad7397a489bff3fa03aea /init.lua | |
parent | bf94226a4b44593eefa640a3926671de94ccd9df (diff) |
Change meaning of itemstring setting
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ local setting = minetest.setting_getbool("doc_items_friendly_group_names") if setting ~= nil then doc.sub.items.settings.friendly_group_names = setting end -doc.sub.items.settings.itemstring = true +doc.sub.items.settings.itemstring = false setting = minetest.setting_getbool("doc_items_show_itemstrings") if setting ~= nil then doc.sub.items.settings.itemstring = setting @@ -238,7 +238,7 @@ end local itemstring_factoid = function(itemstring, playername) local privs = minetest.get_player_privs(playername) - if doc.sub.items.settings.itemstring and (privs.give or privs.debug) then + if doc.sub.items.settings.itemstring or (privs.give or privs.debug) then return S("Itemstring: \"@1\"", itemstring) else return "" |