PopupSystem now uses Filter methods for getting players from entities. (#4751)
This commit is contained in:
committed by
GitHub
parent
45d62f6eed
commit
3e2a8738a9
@@ -39,7 +39,10 @@ namespace Content.Shared.Popups
|
||||
/// player attached to the entity.
|
||||
/// </summary>
|
||||
/// <remarks>Using this method is NOT recommended, please use one of the other methods instead.</remarks>
|
||||
public abstract Filter GetFilterFromEntity(IEntity entity);
|
||||
public Filter GetFilterFromEntity(IEntity entity)
|
||||
{
|
||||
return Filter.Entities(entity.Uid);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user