Hide max stack size for hand

master
Wuzzy 2016-08-01 04:52:56 +02:00
parent 5fdcb97524
commit 5de05d49b4
1 changed files with 3 additions and 1 deletions

View File

@ -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"