Fixed tipped arrow descriptions

This commit is contained in:
the-real-herowl 2024-01-08 00:26:36 +01:00
parent 5a7a533bf6
commit a429a462cd
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ function mcl_potions.register_arrow(name, desc, color, def)
minetest.register_craftitem("mcl_potions:"..name.."_arrow", { minetest.register_craftitem("mcl_potions:"..name.."_arrow", {
description = desc, description = desc,
_tt_help = arrow_tt .. "\n" .. tt, _tt_help = arrow_tt .. "\n" .. tt,
_dynamic_tt = def._dynamic_tt,
_doc_items_longdesc = arrow_longdesc .. "\n" .. _doc_items_longdesc = arrow_longdesc .. "\n" ..
S("This particular arrow is tipped and will give an effect when it hits a player or mob.") .. "\n" .. S("This particular arrow is tipped and will give an effect when it hits a player or mob.") .. "\n" ..
longdesc, longdesc,