mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
refactor: switch from deprecated lumina funcs
This commit is contained in:
parent
87df159c40
commit
094099c570
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ namespace Dalamud.Game.Chat.SeStringHandling.Payloads
|
|||
{
|
||||
// we need to get the linked table and do the lookup there instead
|
||||
// in this case, there will only be one entry for this group id
|
||||
row = sheet.GetRows().First(r => r.Group == this.group);
|
||||
row = sheet.First(r => r.Group == this.group);
|
||||
// many of the names contain valid id ranges after the table name, but we don't need those
|
||||
var actualTableName = row.LookupTable.Split('[')[0];
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ namespace Dalamud.Game.Chat.SeStringHandling
|
|||
{
|
||||
var mapSheet = this.data.GetExcelSheet<Map>();
|
||||
|
||||
var matches = this.data.GetExcelSheet<PlaceName>().GetRows()
|
||||
var matches = this.data.GetExcelSheet<PlaceName>()
|
||||
.Where(row => row.Name.ToString().ToLowerInvariant() == placeName.ToLowerInvariant())
|
||||
.ToArray();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue