Skip to content

Commit

Permalink
IReadOnlyCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZer0Two committed Nov 30, 2024
1 parent 7ebed70 commit b91eee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Features/Npc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Npc(GameObject gameObject)
/// <summary>
/// Gets a list of Npcs.
/// </summary>
public static new List<Npc> List => Dictionary.Values.OfType<Npc>().ToList();
public static new IReadOnlyCollection<Npc> List => Dictionary.Values.OfType<Npc>().ToList();

/// <summary>
/// Gets or sets the player's position.
Expand Down

0 comments on commit b91eee5

Please sign in to comment.