From b91eee573cf25338af5cf560680235baa7216d12 Mon Sep 17 00:00:00 2001 From: NotZer0Two Date: Sat, 30 Nov 2024 20:31:53 +0100 Subject: [PATCH] IReadOnlyCollection --- EXILED/Exiled.API/Features/Npc.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Features/Npc.cs b/EXILED/Exiled.API/Features/Npc.cs index 339110008..4055dfa6a 100644 --- a/EXILED/Exiled.API/Features/Npc.cs +++ b/EXILED/Exiled.API/Features/Npc.cs @@ -48,7 +48,7 @@ public Npc(GameObject gameObject) /// /// Gets a list of Npcs. /// - public static new List List => Dictionary.Values.OfType().ToList(); + public static new IReadOnlyCollection List => Dictionary.Values.OfType().ToList(); /// /// Gets or sets the player's position.