diff options
author | Wuzzy <almikes@aol.com> | 2016-08-01 04:52:56 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-01 04:52:56 +0200 |
commit | 5de05d49b400cea421af227dbe6ce1e29b9904e1 (patch) | |
tree | 615f3c4c819c81bc98a4c6e3fb8ec482f9b977ac /init.lua | |
parent | 5fdcb975247aea34e00eeb4865f6176c41d16487 (diff) |
Hide max stack size for hand
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -476,7 +476,9 @@ doc.new_category("tools", { if usagehelp ~= nil then formstring = formstring .. "Usage help: "..minetest.formspec_escape(usagehelp).. "\n\n" end - formstring = formstring .. "Maximum stack size: "..data.def.stack_max.. "\n" + if data.itemstring ~= "" then + formstring = formstring .. "Maximum stack size: "..data.def.stack_max.. "\n" + end local yesno = function(bool) if bool==true then return "Yes" |