kill whitelist verbose logging (#3145)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
6c3f97d190
commit
f2d23cdf3c
|
|
@ -1,5 +1,4 @@
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq; // DeltaV
|
||||
using Content.Shared.Item;
|
||||
using Content.Shared.Roles;
|
||||
using Content.Shared.Tag;
|
||||
|
|
@ -116,19 +115,6 @@ public sealed class EntityWhitelistSystem : EntitySystem
|
|||
if (whitelist == null)
|
||||
return false;
|
||||
|
||||
// Begin DeltaV
|
||||
var isValid = IsValid(whitelist, uid);
|
||||
Log.Debug($"Whitelist validation result for entity {ToPrettyString(uid)}: {isValid}");
|
||||
|
||||
if (whitelist.RequireAll)
|
||||
{
|
||||
Log.Debug($"Whitelist requires all conditions - Components: {string.Join(", ", whitelist.Components ?? Array.Empty<string>())}, " +
|
||||
$"Tags: {(whitelist.Tags != null ? string.Join(", ", whitelist.Tags.Select(t => t.ToString())) : "none")}");
|
||||
}
|
||||
|
||||
return isValid;
|
||||
// EndDeltaV
|
||||
|
||||
return IsValid(whitelist, uid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue