mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-07 08:24:37 +01:00
Fix leaking colors in sheet redirects for Item
This commit is contained in:
parent
c93f04f0e4
commit
290ad9fc41
1 changed files with 4 additions and 1 deletions
|
|
@ -845,7 +845,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
using var rssb = new RentedSeStringBuilder();
|
||||
var sb = rssb.Builder;
|
||||
|
||||
sb.Append(this.EvaluateFromAddon(6, [rarity], context.Language));
|
||||
sb.Append(this.EvaluateFromAddon(6, [rarity], context.Language)); // appends colortype and edgecolortype
|
||||
|
||||
if (!skipLink)
|
||||
sb.PushLink(LinkMacroPayloadType.Item, itemId, rarity, 0u); // arg3 = some LogMessage flag based on LogKind RowId? => "89 5C 24 20 E8 ?? ?? ?? ?? 48 8B 1F"
|
||||
|
|
@ -868,6 +868,9 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
if (!skipLink)
|
||||
sb.PopLink();
|
||||
|
||||
sb.PopEdgeColorType();
|
||||
sb.PopColorType();
|
||||
|
||||
text = sb.ToReadOnlySeString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue