NotAdam / Lumina

A simple, performant and extensible framework for interacting with FFXIV game data
Do What The F*ck You Want To Public License
93 stars 54 forks source link

Calling a language specific sheet from a non-language sheet does not work #93

Open Critical-Impact opened 5 days ago

Critical-Impact commented 5 days ago

Just adding these issues so people are aware and we can track them as they'll need to be fixed before the next major dalamud release.

Easiest way to replicate:

GameData.GetExcelSheet<GatheringPointBase>()!.GetRow(30);
var name = gpb.GatheringType.ValueNullable?.Name ?? "test";

It appears to be using the GatheringPointBase's page's language which is None but GatheringType requires a language to be passed in.

At a guess we'd need to grab the module's default language but I think we should also be able to request a row of a specific language

Haselnussbomber commented 3 days ago

I ran into this today and reported it to Asriel in #dalamud-dev. Apparently she already has it fixed locally and will PR it soon. 🙂