mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: use Lumina sheets in AutoTranslatePayload
This commit is contained in:
parent
70c832573e
commit
6eaf62fc1c
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using Dalamud.Data;
|
||||
using Dalamud.Data.TransientSheet;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud.Game.Text.SeStringHandling.Payloads
|
||||
|
|
@ -121,7 +120,7 @@ namespace Dalamud.Game.Text.SeStringHandling.Payloads
|
|||
// in this case, there will only be one entry for this group id
|
||||
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];
|
||||
var actualTableName = row.LookupTable.RawString.Split('[')[0];
|
||||
|
||||
var name = actualTableName switch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue