Fix AI not using items in hand (#1273)
I love 1 character commits Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Content.Server.AI.Operators.Inventory
|
||||
return Outcome.Failed;
|
||||
}
|
||||
|
||||
if (_target.TryGetComponent(out ItemComponent itemComponent))
|
||||
if (!_target.TryGetComponent(out ItemComponent itemComponent))
|
||||
{
|
||||
return Outcome.Failed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user