Updated ContainerHelpers to use new extensions (#2530)
Co-authored-by: David Tan <>
This commit is contained in:
@@ -126,7 +126,7 @@ namespace Content.Client.GameObjects.EntitySystems
|
||||
}
|
||||
|
||||
if (!_playerCanSeeThroughContainers &&
|
||||
ContainerHelpers.TryGetContainer(entity, out var container) &&
|
||||
entity.TryGetContainer(out var container) &&
|
||||
!container.ShowContents)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user