Skip to content

Commit

Permalink
Merge pull request #92 from etkramer/optional-custom-class
Browse files Browse the repository at this point in the history
Replace AddClassType->TryAddClassType
  • Loading branch information
EliotVU authored Nov 5, 2024
2 parents 1a28976 + 9f7ff09 commit 3eab0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UnrealPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ public void RegisterClass(string className, Type classObject)
[PublicAPI]
public void AddClassType(string className, Type classObject)
{
_ClassTypes.Add(className.ToLower(), classObject);
_ClassTypes[className.ToLower()] = classObject;
}

[PublicAPI]
Expand Down

0 comments on commit 3eab0cb

Please sign in to comment.