Inline OwnerUid
This commit is contained in:
@@ -432,7 +432,7 @@ namespace Content.Shared.Hands.Components
|
||||
/// </summary>
|
||||
private bool PlayerCanDrop()
|
||||
{
|
||||
if (!IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ActionBlockerSystem>().CanDrop(OwnerUid))
|
||||
if (!IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ActionBlockerSystem>().CanDrop(((IComponent) this).Owner))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user