mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix job flags.
This commit is contained in:
parent
ea4fb49c0f
commit
3f8831853a
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue