Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAdam committed Oct 17, 2023
1 parent 7c4d09d commit cf0d7c0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/Lumina/Excel/LazyRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,16 @@ public static ILazyRow GetFirstLazyRowOrEmpty( GameData gameData, uint row, Lang
foreach( var sheetName in sheetNames )
{
var exh = gameData.GetFile<ExcelHeaderFile>( $"exd/{sheetName}.exh" );
if( exh == null ) continue;
if( exh == null )
{
continue;
}

var page = exh.DataPages.FirstOrDefault( s => row >= s.StartId && row <= s.StartId + s.RowCount, _blankPagination );
if( page.Equals( _blankPagination ) ) continue;
if( page.Equals( _blankPagination ) )
{
continue;
}

return new LazyRow<ExcelRow>(gameData, row, language);
}
Expand Down

0 comments on commit cf0d7c0

Please sign in to comment.