Fix warning

This commit is contained in:
Haselnussbomber 2025-10-05 14:38:50 +02:00
parent 153870a053
commit a55c8ca773
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -566,7 +566,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
return false; return false;
// the game uses LocalPlayer here, but using PlayerState seems more safe. // the game uses LocalPlayer here, but using PlayerState seems more safe.
return this.ResolveStringExpression(in context, playerState.EntityId == entityId ? eTrue : eFalse); return this.ResolveStringExpression(in context, this.playerState.EntityId == entityId ? eTrue : eFalse);
} }
private bool TryResolveColor(in SeStringContext context, in ReadOnlySePayloadSpan payload) private bool TryResolveColor(in SeStringContext context, in ReadOnlySePayloadSpan payload)