Remove obsolete "GetFilterFromEntity" method from PopupSystem.

This commit is contained in:
Vera Aguilera Puerto
2021-10-03 16:19:07 +02:00
parent 3e2a8738a9
commit 4f70dc87f0
2 changed files with 4 additions and 13 deletions

View File

@@ -33,16 +33,6 @@ namespace Content.Shared.Popups
/// <param name="uid">The UID of the entity.</param>
/// <param name="filter">Filter for the players that will see the popup.</param>
public abstract void PopupEntity(string message, EntityUid uid, Filter filter);
/// <summary>
/// Given an <see cref="IEntity"/>, returns a <see cref="Filter"/> that is either empty or contains the
/// player attached to the entity.
/// </summary>
/// <remarks>Using this method is NOT recommended, please use one of the other methods instead.</remarks>
public Filter GetFilterFromEntity(IEntity entity)
{
return Filter.Entities(entity.Uid);
}
}
/// <summary>