summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-06 14:57:33 +0100
committerWuzzy <almikes@aol.com>2016-12-06 14:57:33 +0100
commit68013d8cc6e3d97293a3b524d119b0025728b1a9 (patch)
tree91d42af541eed4ad0d7ad7397a489bff3fa03aea /init.lua
parentbf94226a4b44593eefa640a3926671de94ccd9df (diff)
Change meaning of itemstring setting
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 7e80147..56f5590 100644
--- a/init.lua
+++ b/init.lua
@@ -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 ""