EntityWhitelist uses EntityUid

This commit is contained in:
Vera Aguilera Puerto
2021-11-09 13:08:09 +01:00
parent 5d66a08ac9
commit 1f9e1c033f
8 changed files with 20 additions and 18 deletions

View File

@@ -135,7 +135,7 @@ namespace Content.Server.Storage.Components
return false;
}
if (_whitelist != null && !_whitelist.IsValid(entity))
if (_whitelist != null && !_whitelist.IsValid(entity.Uid))
{
return false;
}