Updated ContainerHelpers to use new extensions (#2530)
Co-authored-by: David Tan <>
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Content.Server.AI.Operators.Inventory
|
||||
{
|
||||
if (_target.Deleted ||
|
||||
!_target.HasComponent<ItemComponent>() ||
|
||||
ContainerHelpers.IsInContainer(_target) ||
|
||||
_target.IsInContainer() ||
|
||||
!_owner.InRangeUnobstructed(_target, popup: true))
|
||||
{
|
||||
return Outcome.Failed;
|
||||
|
||||
Reference in New Issue
Block a user