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:
Haselnussbomber 2023-08-01 18:57:00 +02:00
parent 3f78df23e3
commit 08100ef572
2 changed files with 3 additions and 2 deletions

View file

@ -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)