From 4b0c49834bf8d8e056931d7bb858421dcf014252 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 7 Aug 2016 18:22:13 +0200 Subject: [PATCH] Update doc_items function calls --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index eb2862c..beae0a3 100644 --- a/init.lua +++ b/init.lua @@ -83,10 +83,11 @@ if minetest.get_modpath("doc_items") ~= nil then local longdesc = S("A huge wooden dice with the numbers 1-6, just for fun.") local usagehelp = S("Rightclick on a placed dice to “throw” it, which rotates it randomly.") - doc.sub.items.add_helptexts({ + doc.sub.items.set_items_longdesc({ ["dice2:dice_white"] = longdesc, ["dice2:dice_red"] = longdesc, - }, { + }) + doc.sub.items.set_items_usagehelp({ ["dice2:dice_white"] = usagehelp, ["dice2:dice_red"] = usagehelp, }) -- 2.11.4.GIT