Move static container helper functions to container system (#6382)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Leon Friedrich
2022-01-31 20:08:53 +13:00
committed by GitHub
parent af13751600
commit 4614bb9877
9 changed files with 25 additions and 28 deletions

View File

@@ -130,7 +130,7 @@ namespace Content.Client.Verbs
{
foreach (var entity in entities.ToList())
{
if (!player.Value.IsInSameOrTransparentContainer(entity))
if (!ContainerSystem.IsInSameOrTransparentContainer(player.Value, entity))
entities.Remove(entity);
}
}