Fix CA2264 in Resource Manager (#5870)

This commit is contained in:
B_Kirill
2025-04-20 13:02:16 +10:00
committed by GitHub
parent 04406311dc
commit adf0b6ae78

View File

@@ -273,8 +273,6 @@ namespace Robust.Shared.ContentPack
public IEnumerable<string> ContentGetDirectoryEntries(ResPath path)
{
ArgumentNullException.ThrowIfNull(path, nameof(path));
if (!path.IsRooted)
throw new ArgumentException("Path is not rooted", nameof(path));