Bunch more error fixes.
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Content.Shared.Disposal
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool CanInsert(SharedDisposalUnitComponent component, IEntity entity)
|
||||
public virtual bool CanInsert(SharedDisposalUnitComponent component, EntityUid entity)
|
||||
{
|
||||
if (!IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(component.Owner).Anchored)
|
||||
return false;
|
||||
@@ -71,11 +71,5 @@ namespace Content.Shared.Disposal
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool CanInsert(SharedDisposalUnitComponent component, EntityUid entityId)
|
||||
{
|
||||
var entity = EntityManager.GetEntity(entityId);
|
||||
return CanInsert(component, entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user