summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 7c28ef9..f677bb5 100644
--- a/init.lua
+++ b/init.lua
@@ -724,7 +724,7 @@ doc.new_category("nodes", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "nodes")
- if doc.sub.items.settings.itemstring ~= nil then
+ if doc.sub.items.settings.itemstring == true then
datastring = newline2(datastring)
datastring = datastring .. string.format(S("Itemstring: \"%s\""), data.itemstring)
end
@@ -800,7 +800,7 @@ doc.new_category("tools", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "tools")
- if doc.sub.items.settings.itemstring ~= nil then
+ if doc.sub.items.settings.itemstring == true then
datastring = newline2(datastring)
datastring = datastring .. string.format(S("Itemstring: \"%s\""), data.itemstring)
end
@@ -868,7 +868,7 @@ doc.new_category("craftitems", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "craftitems")
- if doc.sub.items.settings.itemstring ~= nil then
+ if doc.sub.items.settings.itemstring == true then
datastring = newline2(datastring)
datastring = datastring .. string.format(S("Itemstring: \"%s\""), data.itemstring)
end