Чертежи

This commit is contained in:
BIGZi0348
2024-12-14 13:02:28 +03:00
parent 104bd691cb
commit 9fff4f22e4
18 changed files with 271 additions and 7 deletions

View File

@@ -81,4 +81,17 @@ public sealed class EntityWhitelistSystem : EntitySystem
}
}
}
/// <summary>
/// WD Ahead of wizden.
/// Helper function to determine if Whitelist is not null and entity is not on the list
/// </summary>
public bool IsWhitelistFail(EntityWhitelist? whitelist, EntityUid uid)
{
if (whitelist == null)
return false;
return !IsValid(whitelist, uid);
}
}