Remove calls to FormattedMessage obsolete methods (#31706)
* Remove FormattedMessage obsolete methods * Oops
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Content.Client.Lobby;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Players;
|
||||
@@ -133,7 +133,7 @@ public sealed class JobRequirementsManager : ISharedPlaytimeManager
|
||||
reasons.Add(jobReason.ToMarkup());
|
||||
}
|
||||
|
||||
reason = reasons.Count == 0 ? null : FormattedMessage.FromMarkup(string.Join('\n', reasons));
|
||||
reason = reasons.Count == 0 ? null : FormattedMessage.FromMarkupOrThrow(string.Join('\n', reasons));
|
||||
return reason == null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user