Updated ContainerHelpers to use new extensions (#2530)

Co-authored-by: David Tan <>
This commit is contained in:
DTanxxx
2020-11-13 20:25:04 +13:00
committed by GitHub
parent 9f9bd3ade6
commit 69d709a28f
32 changed files with 38 additions and 38 deletions

View File

@@ -58,7 +58,7 @@ namespace Content.Shared.GameObjects.EntitySystems
Ignored predicate = entity => entity == examiner || entity == examined;
if (ContainerHelpers.TryGetContainer(examiner, out var container))
if (examiner.TryGetContainer(out var container))
{
predicate += entity => entity == container.Owner;
}