Skip to content

Commit ec4eb57

Browse files
committed
Update AbilityIdentifier.cs
1 parent 1c7ba86 commit ec4eb57

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Models/Identifiers/AbilityIdentifier.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ private AbilityIdentifier(string guid, string name)
2121
[Obsolete("Replaced by GetID")]
2222
public static AbilityIdentifier GetAbilityIdentifier(string guid, string name)
2323
{
24-
return ids.Exists(x => x.guid == guid && x.name == name)
25-
? ids.Find(x => x.guid == guid && x.name == name)
26-
: new AbilityIdentifier(guid, name);
24+
return GetID(guid, name);
2725
}
2826

2927
public static AbilityIdentifier GetID(string guid, string name)

0 commit comments

Comments
 (0)