Fix missing bracket

This commit is contained in:
Wuzzy 2024-12-02 05:09:18 +01:00
parent ae27cb8f4f
commit fc81d35ccd

View File

@ -37,7 +37,7 @@ function enchanting:get_tooltip_raw(enchant, percent)
--~ Tooltip in format "<enchantment name> (+<bonus>%)", e.g. "Efficiency (+5%)" --~ Tooltip in format "<enchantment name> (+<bonus>%)", e.g. "Efficiency (+5%)"
return minetest.colorize(specs[enchant], S("@1 (+@2%)", enchant_loc[enchant], percent)) return minetest.colorize(specs[enchant], S("@1 (+@2%)", enchant_loc[enchant], percent))
else else
return S("@1 (+@2%", enchant_loc[enchant], percent) return S("@1 (+@2%)", enchant_loc[enchant], percent)
end end
end end