fantasy grounds pcgen exporter crash with characters with item creation feats

Description

If you try to export a wizard with the csheet_Fantasy_Grounds2_pc_PFv3.xml.ftl, due to the scribe scroll feat, this line crashes the java interpreter (line 221):
Code:

<#elseif (pcstring('ABILITYALL.Mythic Feat.VISIBLE.${mythicFeat}.TYPE')?lower_case?contains("mythic"))>
<type type="string">Mythic</type>

The error was about java not recognizing mythicFeat as a variable/contant/whatever is it, and by selecting another class or a template that replaced the scribe scroll feat it worked.
I don't actually know java or the pcgen code, but I "fixed" it by adding this before just before the above elseif, mainly to not let the scribe scroll feat reach that elseif (a true fix would have checked the existence or validity of mythicFeat before using it, but I have no idea how to do that)

Code:

<#elseif (pcstring('ABILITYALL.FEAT.VISIBLE.${feat}.TYPE')?lower_case?contains("item"))>
<type type="string">Item Creation</type>

It's not a true fix, but it works. I think it happened because the char had item creation feats, but no sources with mythic features (I was only using Pathfinder Player sources)

Environment

Windows 10

Assignee

Unassigned

Reporter

Chronodt Chronodt

Labels

Theme

None

Epic/Theme

None

Pending User Input

No

Components

Affects versions

Priority

Minor
Configure