Fix job flags.

This commit is contained in:
Ottermandias 2023-10-06 15:58:11 +02:00
parent ea4fb49c0f
commit 3f8831853a
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ public static class GameData
return _jobs;
var sheet = dataManager.GetExcelSheet<ClassJob>()!;
_jobs = sheet.ToDictionary(j => (byte)j.RowId, j => new Job(j));
_jobs = sheet.Where(j => j.Abbreviation.RawData.Length > 0).ToDictionary(j => (byte)j.RowId, j => new Job(j));
return _jobs;
}

View file

@ -15,7 +15,7 @@ public readonly struct Job
=> Base.RowId;
public JobFlag Flag
=> (JobFlag)(1u << (int)Base.RowId);
=> (JobFlag)(1ul << (int)Base.RowId);
public Job(ClassJob job)
{