item with same name
Sairei opened this issue · 2 comments
Sairei commented
Hi,
I noticed that there are objects with the same name, but which are different, such as "Key Sigil" materials or "Prized Isshin Blade" weapons.
How can I do to retrieve information from different objects ?
theBowja commented
hmm I'm not sure how to fix this
theBowja commented
Can now get data with the same name by adding a number. Indexed at 0. Must set matchAliases to true.
Example: genshindb.achievements('Key Sigil 1', { matchAliases: true })
Data will have an extra property dupealias: "Key Sigil 1"
v4.3.1