mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
fix: add a full item link to SeStringBuilder
This changes the behaviour of `AddItemLink` functions. Previously it just added an `ItemPayload`. Now, it adds a full item link, as one would expect.
This commit is contained in:
parent
3f78df23e3
commit
08100ef572
2 changed files with 3 additions and 2 deletions
|
|
@ -208,6 +208,7 @@ public class SeString
|
|||
var textColor = (ushort)(549 + ((rarity - 1) * 2));
|
||||
var textGlowColor = (ushort)(textColor + 1);
|
||||
|
||||
// Note: `SeStringBuilder.AddItemLink` uses this function, so don't call it here!
|
||||
return new SeStringBuilder()
|
||||
.Add(new ItemPayload(itemId, kind))
|
||||
.Append(TextArrowPayloads)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue