ActionBlocker CanPickup uses EntityUid exclusively
This commit is contained in:
@@ -625,7 +625,7 @@ namespace Content.Shared.Hands.Components
|
||||
/// <returns></returns>
|
||||
protected bool PlayerCanPickup()
|
||||
{
|
||||
if (!IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ActionBlockerSystem>().CanPickup(Owner))
|
||||
if (!EntitySystem.Get<ActionBlockerSystem>().CanPickup(Owner.Uid))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user