[PRIORITY NEGATIVE ONE/STABLE HOTFIX] ADMIN NOTES CANNOT BE ACCESSED (#40863)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Fix logger obsolete warnings (#40553)"
This commit is contained in:
committed by
GitHub
parent
9877b77fff
commit
e917c8e067
@@ -8,11 +8,6 @@ namespace Content.Client.Guidebook.Richtext;
|
||||
[UsedImplicitly]
|
||||
public sealed class Table : TableContainer, IDocumentTag
|
||||
{
|
||||
[Dependency] private readonly ILogManager _logManager = default!;
|
||||
|
||||
private ISawmill Sawmill => _sawmill ??= _logManager.GetSawmill("table");
|
||||
private ISawmill? _sawmill;
|
||||
|
||||
public bool TryParseTag(Dictionary<string, string> args, [NotNullWhen(true)] out Control? control)
|
||||
{
|
||||
HorizontalExpand = true;
|
||||
@@ -20,7 +15,7 @@ public sealed class Table : TableContainer, IDocumentTag
|
||||
|
||||
if (!args.TryGetValue("Columns", out var columns) || !int.TryParse(columns, out var columnsCount))
|
||||
{
|
||||
Sawmill.Error("Guidebook tag \"Table\" does not specify required property \"Columns.\"");
|
||||
Logger.Error("Guidebook tag \"Table\" does not specify required property \"Columns.\"");
|
||||
control = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user