Hi,
Thanks for this plugin, the conditional rules feature is exactly what I needed! However, I'm running into a consistent crash in battle (RPG Maker MZ, plugin v1.0.1):
TypeError: Cannot read property 'Enemy ID' of undefined at Function.EnemyDataManager.prepareNormalizedObject (TAA_EnemyDrops.js:1671) at Function.EnemyDataManager.getNormalizedData (TAA_EnemyDrops.js:1641) at Game_Enemy.setupExtendedDropData (TAA_EnemyDrops.js:3209) at Game_Enemy.setup (TAA_EnemyDrops.js:3214)
Context: I'm only using <TAA_ED> notetags (no JSON file, DataSource Type = "Plugin Manager"), and my "Plugin Manager Data" list is empty, since the help file states notetags work independently from the other two config methods.
What I found looking at the code: in setupExtendedDropData, when is empty, the function calls >code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]">getNormalizedData(enemyId), which appears to return undefined when no matching entry exists in Plugin Manager Data. That undefined then gets passed to prepareNormalizedObject, which crashes trying to read rawData['Enemy ID'].
Workaround found: adding an "empty" entry (just the Enemy ID, no rules) in Plugin Manager Data for each enemy fixes the crash — but this seems to contradict the "notetags work independently" behavior described in the help file, and it forces me to create one for every new enemy even if it has no special drop.
Is this a known bug, or a misconfiguration on my end? Thanks in advance for your help!